Skip to content

Commit 54b451c

Browse files
Committing the ans to d) for 4-mandatory-interpret
1 parent 5180272 commit 54b451c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Sprint-2/4-mandatory-interpret/time-format.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ console.log(formatTimeDisplay(61));
3434

3535
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
3636
// =============> write your answer here
37+
// The value is 1, when formatTimeDisplay(61) runs: 61 seconds = 1 minute and 1 second
38+
// remainingSeconds = 61 % 60 = 1
39+
// The last call to pad is pad(remainingSeconds), so num receives 1
3740

3841
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
3942
// =============> write your answer here

0 commit comments

Comments
 (0)