If I were to ask the user to enter the number of employee. Could I put that user entered number into an array? If so how?
int num; cout << "enter number of employees: " ; cin >> num; array[num];
this code doesn't actually work because I already tried it and it gives me an error. Any help would be great. Thanks