Skip to content

Commit ca1cf85

Browse files
committed
edit the comment section
1 parent 5a7447d commit ca1cf85

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Sprint-2/3-mandatory-interpret/2-time-format.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ const totalHours = (totalMinutes - remainingMinutes) / 60;
99
const result = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
1010
console.log(result);
1111

12-
//A.There are six variable declararions
12+
//A.There are six variable declarations
1313

14-
//B. no function calls
14+
//B. one function call (console.log())
1515

1616
//C.The % represents a remainder. The operator returns the remainder leftover when one operand which in
1717
// this cas is movieLength is divided by a second operand in this case 60%.
1818

19-
// D.it means it is changing the value that was in second into minute by dividing it 60 after the top calculation makes it whole number.
19+
// D.it means it is changing the value that was in second into minute by dividing it 60 after the top
20+
// calculation makes it whole number.
2021

2122
//E. It represents the duration of the movie.movieLength/movieDuration.
2223

23-
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
24-
25-
// yes it works, i experimented it with various values. I found it to be working properly.
24+
//F. No it doesnt work for all different values , I experimented it with -ve numbers and decimals.It doesnt
25+
// give the desired output

0 commit comments

Comments
 (0)