1#include <iostream>
2#include <string>
3using namespace std;
4int main()
5{
6 string name[6];
7 cout << "\nEnter your name : ";
8 for(int i = 0; i < 6; i++)
9 {
10 getline(cin, name[i]);
11 }
12 for(int i = 0; i < 6; i++)
13 {
14 cout << "\nYou entered : " << name[i];
15 }
16 return 0;
17}