There was an error while loading. Please reload this page.
1 parent d8c4077 commit 90cadbaCopy full SHA for 90cadba
1 file changed
Sprint-2/Prep/functions.js
@@ -34,4 +34,14 @@ const changeNumber = luckyNumber.padStart(5, "0")
34
console.log(changeNumber)
35
36
const anotherNumber = luckyNumber.padEnd(5, "0")
37
-console.log(anotherNumber)
+console.log(anotherNumber)
38
+
39
+const carPrice = 30000.50
40
+const updatedCarPrice = Math.floor(carPrice)
41
+console.log(updatedCarPrice)
42
43
+const addNumber = 20
44
+const addNumber2 = 30
45
+const addNumber3 = addNumber + addNumber2
46
+const addNumberResult = Math.random() * addNumber3
47
+console.log(addNumberResult)
0 commit comments