CJCoding With Joseph
15per day

Squares 1 to 5 (for)

Print the squares of numbers from 1 to 5 using a for loop.

Expected Output:

1 4 9 16 25
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.