write a c++ program to tell degree or class

writing a c++ program to tell the degree or class of a student when you key in the cpga. dont know what to do again.
need help


#include <iostream>
using namespace std;
int main()
{
int cgpa;
cout << "Please enter the cgpa:";
cin >> cgpa;
cout << endl << endl << 3.59 = 200l or second upper degree << "class or degree<< endl;
return 0;
}
Last edited on
its now running.




#include <iostream>
using namespace std;
int main()
{
int cgpa;
cout << "Please enter the cgpa:";
cin >> cgpa;
cout << "degree =" <<2 << "nd class upper"<< endl;
cout << "class =" << 200 << "level" << endl;

return 0;
}
Topic archived. No new replies allowed.