File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Sprint-2/4-mandatory-interpret Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,21 @@ function formatTimeDisplay(seconds) {
1818
1919// a) When formatTimeDisplay is called how many times will pad be called?
2020// =============> write your answer here
21+ //pad is called 3 times
2122
2223// Call formatTimeDisplay with an input of 61, now answer the following:
24+ formatTimeDisplay ( 61 ) ;
2325
2426// b) What is the value assigned to num when pad is called for the first time?
2527// =============> write your answer here
26-
28+ // 0
2729// c) What is the return value of pad is called for the first time?
2830// =============> write your answer here
29-
31+ // '00'
3032// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
3133// =============> write your answer here
32-
34+ // 1
3335// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
3436// =============> write your answer here
37+ // '01'
38+
You can’t perform that action at this time.
0 commit comments