Code:
else(numCredHour>10);
 totTuition=500;
  cout<<"Your Total Tuition is: $500"<<endl;
Quote Originally Posted by Salem View Post
> else (numCredHour>15)
else doesn't have an expression.

You might have meant
else if (numCredHour>15)

But the final else is just that - everything else not matching any previous if / else if
I recall a very very old thread:

N00b with n00b question (probably a quick one)

I honestly don't know why I remember it through...