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
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
32
-
// =============> write your answer here
32
+
// =============> The value assigned to num when pad is called for the last time is 1. This is because the last call to pad is for remainingSeconds, and remainingSeconds = 61 % 60 = 1.
33
33
34
34
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
35
35
// =============> It would be 01 because the last call to pad is for remainingSeconds which is 01 when seconds is 61.
0 commit comments