โ Back to Printing
Question 94
Print a Zero-Padded Number
Print a Zero-Padded Number
The variablenholds7. Print it as a three-digit string padded with leading zeros so the output is exactly: 007
Expected Output:
007
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.