Skip to content

Commit 94e8689

Browse files
committed
Fixed type errors
1 parent 174fccd commit 94e8689

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Sprint-1/3-mandatory-interpret/2-time-format.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ console.log(result);
2626

2727

2828
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
29-
// the expression evaluates to total number of movie minutes by subtracting the number of seconds.
29+
// The expression evaluates to total number of movie minutes by subtracting the number of seconds.
3030

3131

3232
// e) What do you think the variable result represents? Can you think of a better name for this variable?
3333
// The variable result represent the duration of thr movie in hours,minutes and seconds.
3434
// A better name fot this variable is movieDuration
3535

36+
3637
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
37-
// The code will work for all the values of movieLength. But if we use negative numbers ut will gie us an invalid duration.
38+
// The code will work for all the values of movieLength. But if we use negative numbers it will give us an invalid duration.
3839
// Ex movieLength = -8784 movieDuration = -2: -26: -24

0 commit comments

Comments
 (0)