问题
Anyone know why this wont work. How am I supposed to put in multiple conditions to be met.
else if (studentoverall < 90; studentoverall>=80)
{
lettergrade = "B";
}
回答1:
With Logical AND (&&):
else if (studentoverall < 90 && studentoverall >= 80)
来源:https://stackoverflow.com/questions/28144294/c-multiple-conditions-for-if-statement