Hi I have to make a variation of the famous "FizzBuzz" code where I have the user input the number they want to go up to and it can only print 11 numbers per line. My code can do all that just it repeats the same number 11 times instead of moving onto the next number and I am not sure why. Can someone help me fix it?
Here is the output I get from entering 50 into that code.
"
Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza
Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza
Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza
Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza
Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza
CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza CozaLoza
Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza Coza
Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49 Woza 49
Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza Loza"
Any help would be appreciated. Thanks