|
|
#include <iostream>
using namespace std;
int main()
{
int i,j;
cin>>i;
char k;
if(i<=100 && i>=90)
k='A';
if(i<90 && i>=50)
k='B';
if(i<50 && i>=30)
k='C';
if(i<30)
k='D';
cout << "\nplayer Grade "<< k;
return 0;
}
No comments:
Post a Comment