I have made this array to ask for an input, but i want what is stored in what's below into an output that looks like this....
1 2 3 4 5 6 7 8 9
for (ctr1=0; ctr1 < 7; ctr1++)
{
cout << "Enter the employee's name" ;
cin.ignore();
getline(cin, eArray[ctr1]);
cout << "Enter the hours worked" ;
cin >> hrWrkd[ctr1];
cout << "Enter the hourly pay rate" ;
cin >> HrRate[ctr1];
OUTPUT SCREEN
Region #1
Facility #1
(any name you enter)
(any name you enter)
Facility #2
(any name you enter)
(any name you enter)
Region #2
Facility #1
(any name you enter)
(any name you enter)
Facility #1
(any name you enter)
(any name you enter)
What's above is a 3 dimensional array [2][2][2].
I have figured out how to add Region & Facility, but I am having a hard time getting the input to enter the name into the output array....Any help would be appreciated.....