Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>
#include <string>

using namespace std;

int main()
{
	string firstName, lastName, town;
	int age;
	cin >> firstName;
	cin >> lastName;
	cin >> age;
	cin >> town;

	cout << "You are " << firstName << " " << lastName <<
    ", a " << age << "-years old person from " << town << "." << endl;

	return 0;
}