Skip to content

Commit d51b30d

Browse files
committed
Add output for getLastDigit function
1 parent 1768716 commit d51b30d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • Sprint-3/2-mandatory-debug

‎Sprint-3/2-mandatory-debug/2.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ console.log(`The last digit of 806 is ${getLastDigit(806)}`);
1616

1717
// Now run the code and compare the output to your prediction
1818
// =============> write the output here
19+
// The last digit of 42 is 3
20+
// The last digit of 105 is 3
21+
// The last digit of 806 is 3
22+
1923
// Explain why the output is the way it is
2024
// =============> write your explanation here
2125
// Finally, correct the code to fix the problem

0 commit comments

Comments
 (0)