65
Pass
1 #include<iostream> 2 #include<cmath> 3 #include<cstdio> 4 #include<algorithm> 5 using namespace std; 6 int main() 7 { 8 int n; 9 cin>>n; 10 if(n>=90) 11 cout<<"Excellent"; 12 else if(n>=80&&n<90) 13 cout<<"Good"; 14 else if(n>=60&&n<80) 15 cout<<"Pass"; 16 else cout<<"Fail"; 17 return 0; 18 }
Copyright 2018 自为风月马前卒