Advertisement
Guest User

Chatbot.cxx

a guest
Jun 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string hi;
  8.     cin >> hi;
  9.     if (hi == "Привет")
  10.     {
  11.         cout << "Привет" << endl;
  12.     }
  13.     if (hi == "Здравствуй")
  14.     {
  15.         cout << "Здравствуй" << endl;
  16.     }
  17.     if (hi == "привет")
  18.     {
  19.         cout << "Привет" << endl;
  20.     }
  21.     if (hi == "здравствуй")
  22.     {
  23.         cout << "Здравствуй" << endl;
  24.     }
  25.     string del;
  26.     cin >> del;
  27.     if (del == "Как дела?")
  28.     {
  29.         cout << "Так себе, у вас как?" << endl;
  30.     }
  31.     for (int a = 0; a <= 1000; a++)
  32.     {
  33.         cout << "EEERROOORRR" << endl;
  34.     }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement