โ Back to Printing
Question 243
Print a Number with Thousands Separators
Print a Number with Thousands Separators
The variable n holds 1000000. Print it with commas grouping the thousands:
1,000,000Expected Output:
1,000,000
Topics:
Printing
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.