File tree Expand file tree Collapse file tree
Sprint-1/3-mandatory-interpret Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ console.log(result);
1919
2020// c) Using documentation, explain what the expression movieLength % 60 represents
2121// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators
22- //movie % 60 represents the remainder of the division of movielenght by 60.
22+ //movie % 60 represents the remainder of the division of movieLength by 60.
2323
2424// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
2525// The expression is an Assignment operator that assigns its right hand side value and equation to the variable on the left hand side.
@@ -28,4 +28,4 @@ console.log(result);
2828// The variable result represents the total hours,minutes and seconds of the movie. A better name for this could be runtime or duration.
2929
3030// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
31- // This code will not work for values of movielength that are less than 60 seconds due to it needing to divide by 60 to get minuetes and hours.
31+ // This code will not work for values of movieLength that are less than 60 seconds due to it needing to divide by 60 to get minutes and hours.
You can’t perform that action at this time.
0 commit comments