Guest User

Untitled

a guest
Nov 12th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include<iostream>
  2. #include<cmath>
  3. using namespace std;
  4.  
  5. int main(){
  6. int diem=0 ;
  7. cout <<"nhap diem trung binh: ";
  8. cin >>diem;
  9. if (diem >0 && diem < 5)
  10. cout <<"\nkhong dat";
  11. else if (diem >= 5 && diem < 6.5)
  12. cout <<"\ndat";
  13. else if (diem >= 6.5 && diem < 8)
  14. cout <<"\nkha";
  15. else if (diem >=8 && diem <=10)
  16. cout <<"\ngioi";
  17. else cout <<"\nban nhap sai";
  18. return 0;
  19. }
Add Comment
Please, Sign In to add comment