2 solutions
Information
- ID
- 866
- Time
- 1000ms
- Memory
- 64MiB
- Difficulty
- 10
- Tags
- # Submissions
- 5
- Accepted
- 4
- Uploaded By
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n>=90){ cout<<"A"; }else if(n<90&&n>=70){ cout<<"B"; }else if(n<70&&n>=60){ cout<<"C"; }else{ cout<<"D"; } return 0; }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.