Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
PreprocessorVsNamespace
parantheses matching test 1
vector destruction - visual studio
Multi Inheritance
unresolved external symbol
Is a Union Member's Destructor Called
accessing private of different type of template
Memory example
Template float/int comparison
define own struct