6.1. While: List of squares
pole55 (233)

"For a given integer N, print all the squares of positive integers where the square is less than or equal to N, in ascending order."

Example input

Example output
1 4 9 16 25 36 49

You are viewing a single comment. View All
pole55 (233)

@girianshiido oh. now i see what you are talking about! hmm. thanks