Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Deepa
#include<iostream> using namespace std; int main () { float precent; int x; cout>>"Enter your percentage:"; cin>>percent; cout<<"You scored"<<precent <<"%"<<endl; x=prevent/10; Switch(x) { case10: case9: case8: cout<<"You have passed with distinction"; break; case7: case6: cout<<"You have passed with First division"; break; case 5: cout<<"You have passed with Second division"; break; case4: cout<<"You have passed with Third division"; break; default: cout<<"Sorry:You have failed"; } return 0; }
run
|
edit
|
history
|
help
-1
Please
log in
to post a comment.
st_match
Search in a rotated sorted array
LRU cache
infix to postfix v 5.0 (with exponent support)
Fibonacci
A string-integer comparison trick
vector fr
same
Comp Conexe
Intersected Rectangles
Please log in to post a comment.