0
please correct the problem for loop.
2 Réponses
+ 2
You spelt 'System' incorrectly. (forgot the 2nd 's').
Also, I'm starting to see this a lot, but unless you plan on using that 'i' variable later on there's really no reason to enlarge its scope.
Just do:
for(int c = 1; c <= 5; c++){}//etc...
Instead of
int c;
for(c = 1; c <= 5... etc.)
Far more readable.
+ 1
it's work thank you very much.