I'm doing this program for a class, and i'm getting the error
expected `;' before ')' token
on the line where the "for loop" begins
cin >> judge;
for (i = 1 , judge + 1 <= i , i++){
cout << "Enter Score for Judge number " << i << endl;
I don't understand exactly what seems to be wrong being that i have a semicolon on the previous line, so can anyone help?
The for
things are separated by semicolons, not commas