"Look how beautiful the world is without loops!" The guy who said this is busy displaying the table of squares of all numbers that can be represented by the int data type. He's been working on it for the past 5 years. I propose that we disagree with him and create a program with loops: specify a string and number N, and then display the string N times.
You can't have too much of a good thing
- 2
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
Libby
3 January 2021, 16:47
I'm having problems the second time today to post my code at the help section. is anyone out there able to help me?
0
Roman
4 January 2021, 09:13
Please check if all fields are filled in when posting a question in the help section. If there is still an error, contact support.
0
Joffrey Wallaart
18 August 2020, 21:54
This is what a for loop is for. It's a bit silly to use a much more convoluted while loop for this.
0
Steve
28 June 2019, 14:07
Never mind,,, if I read it correctly,, it might work
0
Steve
28 June 2019, 02:33
Dont know whats wrong with my code,, but following the example and it does not work??
0