#include<iostream> using namespace std; void main () { int x; cout<<Enter the number grade of a student\n"; cin>>x; if (x >= 90) { cout<<"Grade: A\n"; } else if (x >= 80) { cout<<"Grade: B\n"; } else if (x >= 70) { cout<<"Grade: C\n"; } else if (x >= 60) { cout<<"Grade: D\n"; } else { cout<<"You have recieved an F\n"; cout<<"You must retake the clas to recieve credit loser\n"; } int y; cin>>y; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)