6.1. While: List of squares
pole55 (71)

"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
50

Example output
1 4 9 16 25 36 49

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

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