CJCoding With Joseph

Pad Left with Zeros

The string "42" should be shown as a 5-character number with leading zeros. Use PadLeft to pad it to width 5 with the character '0' and print:

00042

Expected Output:

00042
Topics:
Strings
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.