Need help with Texting friends array

I need to finish this program which has to ask for seed, then give the user 5 friends, and then it will choose who to text and show who did not make the cut.
This all i have, I am stuck and I do not know if it correct.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 #include <iostream>
#include <string>

using namespace std;

int main()
{
    string num_friends[5];
    int user_input;


    cout << "== Who Should I Text? ==" << endl;
    cout << "Enter seed" << endl;
    cin >> user_input;

    for (int counter = 0; counter < 5; counter++)
    {
        cout << "Enter friend " << counter << endl;
        cin >> num_friends[counter];
        cout << "You should text: " << counter << endl;


       }
        for (int x = 0; x < 4; x++)
        {
        cout << "Your other friends didn't make the cut:" << endl;
        cout << num_friends[x] << endl;
        }



}

Topic archived. No new replies allowed.