Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- string first_name;
- string last_name;
- string town;
- int age;
- cin >> first_name >> last_name >> age >> town;
- printf("You are %s %s, a %d-years old person from %s.\n",
- first_name.c_str(),
- last_name.c_str(),
- age,
- town.c_str());
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement