Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6. cout << "Hello! What is your name?" << endl;
  7. cout << "Please answer: " ;
  8. string a;
  9. cin >> a ;
  10. cout << "Hi," << a << ", " << "Nice to meet you.How are you ?" << endl;
  11. cout << "Please answer: ";
  12. string b;
  13. cin >> b;
  14. cout << "Do you like to study informatics in NBU?" << endl;
  15. cout << "Please answer: ";
  16. string c;
  17. cin >> c;
  18. cout << "Which year are you? " << endl;
  19. cout << "Please answer: ";
  20. string d;
  21. cin >> d;
  22. cout << "Which term you are in?" << endl;
  23. cout << "Please answer: ";
  24. string e;
  25. cin >> e;
  26.  
  27. cout << "My name is Boris Proykov" << endl;
  28. cout << "I am felling happy" << endl;
  29. cout << "I really like to study infomratics in NBU" << endl;
  30. cout << "I am first year" << endl;
  31. cout << "I am in first term" << endl;
  32. cout << "Bye :)";
  33.  
  34.  
  35.  
  36. return 0;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement