for (int a = 1; spaceCount < 1; spaceCount--)
Look at the condition for this if statement. If true the loop goes around again.
What is the value of spaceCount when you enter the for ()...
Type: Posts; User: Norm
for (int a = 1; spaceCount < 1; spaceCount--)
Look at the condition for this if statement. If true the loop goes around again.
What is the value of spaceCount when you enter the for ()...
for (int a = 1; spaceCount == 0; spaceCount--);
No ending ; here. It ends the WHOLE if statement
What is the variable a used for?
How does the condition part of the if statement control the...