You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// it means that the movie hour is being calculated. totalminutes minus remainingseconds divided by 60.
25
25
// e) What do you think the variable result represents? Can you think of a better name for this variable?
26
26
// the variable result represents the total length it takes to watch the movie in hours and minutes.
27
-
//Better name is MovieLengthTime.
27
+
//Better name is formattedMovieTime.
28
28
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
29
29
// Yes, this code will work for different values of movieLength because it calculates the total hours, minutes and seconds based on the length of the movie in seconds.
30
30
// The code will correctly handle any length of movie in seconds and convert it to the appropriate format.
0 commit comments