How could I write these so that they would work?The "A" and the "F" work but the other 3 don't.
Code:cout << "Letter Grades" <<endl; for (int i = 0; i < MAXGRADES; i++) { if (grade[i]>89) cout<<"A"<<grade[i]; if (90>grade[i]>79) cout<<"B"<<grade[i]; if (80>grade[i]>69) cout<<"C"<<grade[i]; if (70>grade[i]>59) cout<<"D"<<grade[i]; if (grade[i]<60) cout<<"F"<<grade[i]; }