Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream.h>
- #include<string.h>
- using namespace std;
- void main()
- {
- string firstname, lastname;
- string address;
- cout<<"What is your first name? "<<endl;
- cin>>firstname;
- cout<<"What is your last name? "<<endl;
- cin>>lastname;
- cout<<"Have a nice day "<<firstname<<" "<<lastname<<endl;
- }
Add Comment
Please, Sign In to add comment