untitle

public
yousefkarem91 Sep 12, 2024 Never 46
Clone
C++ past.cpp 20 lines (20 loc) | 284 Bytes
1
#include <bits/stdc++.h>
2
using namespace std;
3
int main()
4
{
5
int x;
6
cin>>x;
7
if(x>=90) {
8
cout<<"expert";
9
}
10
else if(x>=70){
11
cout<<90-x;
12
}
13
else if(x>=40)
14
{
15
cout<<70-x;
16
}
17
else {
18
cout<<40-x;
19
}
20
}