There was an error while loading. Please reload this page.
1 parent 8dfc043 commit b33d620Copy full SHA for b33d620
1 file changed
Sprint-2/3-mandatory-interpret/2-time-format.js
@@ -1,4 +1,5 @@
1
-const movieLength = 3661; // length of movie in seconds
+// const movieLength = 3661; // length of movie in seconds
2
+const movieLength = 100.65;
3
4
const remainingSeconds = movieLength % 60;
5
const totalMinutes = (movieLength - remainingSeconds) / 60;
@@ -13,7 +14,7 @@ console.log(result);
13
14
15
// a) How many variable declarations are there in this program?
16
-// Answer: There is only 6 variable declearation altogether in this program
17
+// Answer: There is only 6 variable declaration altogether in this program
18
19
// b) How many function calls are there?
20
0 commit comments