Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(){
- float DTB;
- cout<<"Diem trung binh la:";
- cin>>DTB;
- if(DTB<5) cout<<"KHONG DAT";
- else if(DTB>=5) cout<<"DAT";
- else if(DTB>=6.5 && DTB<= 7.9) cout<<"KHA";
- else cout<<" GIOI";
- return 0;
- }
Add Comment
Please, Sign In to add comment