multiple words c 2b 2b in same

Solutions on MaxInterview for multiple words c 2b 2b in same by the best coders in the world

showing results for - "multiple words c 2b 2b in same"
Emily
31 Jul 2017
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}