Guest User

Untitled

a guest
Jan 16th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #include <iostream>
  2. #include "conio.h"
  3. #include <ctype.h>
  4. #include <string>
  5. using namespace std;
  6.  
  7. void main(){
  8. string txt1;
  9. string txt2;
  10. string txt3;
  11. string txt4;
  12. string txt5;
  13. txt4 = "Yes";
  14. txt5 = "No";
  15. cout << "Whats Your name!: ";
  16. cout << endl;
  17. cin >> txt1;
  18. cout << "Hello " << txt1 << " How are you?: ";
  19. cout << endl;
  20. cin >> txt2;
  21. cout << "Im feeling " << txt2 << " too!";
  22. cout << endl;
  23. cout << " Do you know James Jenkins?";
  24. cin >> txt4;
  25. cin >> txt5;
  26.  
  27. if (txt4 == "Yes")
  28. {
  29. cout << "You do!! P.S He Loves Lizi!!";
  30. }
  31. else if (txt5 == "No")
  32. {
  33. cout << "Oh... :(";
  34. }
  35. _getch();
Add Comment
Please, Sign In to add comment