Guest User

Untitled

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