Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<conio.h>
- main()
- {
- int a,b;
- if(a>75||b<100)
- {
- cout<<"grade is 'A'"<<"\n";
- }
- else if(a>50||b<75)
- {
- cout<<"grade is 'B'"<<"\n";
- }
- else
- {
- cout<<"grade is 'C'"<<"\n";
- }
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement