Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
assignment
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> using namespace std; int main() { int score; cout << "enter score"endl; cin>>score; if((score<0)||(score>100)) cout<<"invalid score!"<<endl; else if(score<=39) cout <<"failed!"<<endl; else if(score<=40-44) cout<<"passed E"<<endl; else if(score <=45-49) cout<<"passed D"<<endl; else if(score<=50-54) cout<<"fair CD"<<endl; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Progress bar
Test
hangman
RVO hota hai bhenchod
solution_problem4
sinem çalışma
problem_solution_1
Problem_rstring_1
C++ move/copy constructor and assignment demo
"Mostly invalid states" and unordered_set
stackse - search stackoverflow differently
Please log in to post a comment.