Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int marks;
- cout<<"Enetr the marks: ";
- cin>>marks;
- if(marks>=70)
- {
- cout<<"A";
- }
- else if(marks>=60)
- {
- cout<<"b";
- }
- else if(marks<60)
- {
- cout<<"c";
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment