1#include <iostream>
2using namespace std;
3
4#define MAX_LENGTH 100
5
6int main()
7{
8 char name[MAX_LENGTH]={0};
9 int age;
10
11 cout<<"Enter name of the person: ";
12 cin.getline(name,MAX_LENGTH);
13 cout<<"Enter age: ";
14 cin>>age;
15
16 cout<<"Name: "<<name<<endl;
17 cout<<"Age: "<<age<<endl;
18
19 return 0;
20}
21