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
Build char string (multibyte) with wchar
Rounding in C++
throwing std::function on MSVC is dangerous
😊
#19
hangman
Data structure alignment
sinem çalışma
Insertion vs Sort
This is the first one