There was an error while loading. Please reload this page.
1 parent 36e4464 commit 9953c8bCopy full SHA for 9953c8b
1 file changed
Sprint-3/4-mandatory-interpret/time-format.js
@@ -61,6 +61,8 @@ console.log("The value assigned to num when pad is called for the last time is:"
61
62
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
63
// =============> write your answer here
64
+// The last call is 'pad(remainingSeconds)' which is '61 % 60'
65
+// since 61 divided by 60 leaves a remainder of 1, it means the value '1' is assigned to 'num' in the last call of pad
66
67
// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
68
0 commit comments