Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "conio.h"
- #include <ctype.h>
- #include <string>
- using namespace std;
- void main(){
- string txt1;
- string txt2;
- string txt3;
- string txt4;
- string txt5;
- txt4 = "Yes";
- txt5 = "No";
- cout << "Whats Your name!: ";
- cout << endl;
- cin >> txt1;
- cout << "Hello " << txt1 << " How are you?: ";
- cout << endl;
- cin >> txt2;
- cout << "Im feeling " << txt2 << " too!";
- cout << endl;
- cout << " Do you know James Jenkins?";
- cin >> txt4;
- cin >> txt5;
- if (txt4 == "Yes")
- {
- cout << "You do!! P.S He Loves Lizi!!";
- }
- else if (txt5 == "No")
- {
- cout << "Oh... :(";
- }
- _getch();
Add Comment
Please, Sign In to add comment