SHARE
TWEET

Bài 3

chinh97nd Aug 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int dtb;
  8.  
  9.     cout << "Nhap dtb: "; cin >> dtb;
  10.  
  11.     if (dtb < 4.5)
  12.         cout << "Yeu";
  13.     else if (4.5 <= dtb && dtb < 7)
  14.         cout << "Trung binh";
  15.     else if (7 <= dtb && dtb < 8.5)
  16.         cout << "Kha";
  17.     else
  18.         cout << "Gioi";
  19.  
  20.     cout << endl;
  21.  
  22.     return 0;
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top