Bank Program Using Array

I am writing a bank program and I need to have the user input 5 checking accounts with 5 savings account, the account numbers must start with an uppercase letter followed by 7 digits, can someone help me isolate the first numb/char of each subscript? Thanks
1
2
3
4
5
6
7
8
9
10
   string Checking[x];
    string Savings[y];

    cout << "Enter 5 Checking Account Numbers, Starting with uppercase letter, followed by 7 digits
    for (int x =0; x<5;x++)
    cin >> Checking[x];
    if (Checking[x].length < 8 || Checking[x].


 
Topic archived. No new replies allowed.