Advertisement
MarioPetrov02

Excellent or Not

Sep 23rd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5.  
  6. int main()
  7. {
  8.     double grade; cin >> grade;
  9.  
  10.     if (grade >= 5.5)
  11.     {
  12.         cout << "Excellent!" << endl;
  13.     }
  14.     else
  15.     {
  16.         cout << "Not excellent." << endl;
  17.     }
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement