You are viewing a single comment's thread. Return to all comments →
The provided code stub reads an integer, , from STDIN. For all non-negative integers , print .
Example n=3 The list of non-negative integers that are less than is . Print the square of each number on a separate line.
0 1 4
Seems like cookies are disabled on this browser, please enable them to open this website
Loops
You are viewing a single comment's thread. Return to all comments →
The provided code stub reads an integer, , from STDIN. For all non-negative integers , print .
Example n=3 The list of non-negative integers that are less than is . Print the square of each number on a separate line.
0 1 4