Skip to content

Commit 239699e

Browse files
committed
Math.round function task
1 parent aade124 commit 239699e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎Sprint-3/passwordCheckerFunction.js‎

Whitespace-only changes.

‎Sprint-3/prep‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
console.log(Math.round)
1+
//console.log(Math.round(10.3))
2+
3+
const num1 = Math.round(10.3)
4+
const num2 = Math.round(4.2)
5+
const result = num1 + num2
6+
console.log(`Total sumation of the numbers is ${result}`)
7+

0 commit comments

Comments
 (0)