0

I am having trouble starting a program that needs to sort arrays. I need to have the user input the number of employess -which will set the number of arrays, then the user will enter differnt values into each array which should be private, such as name, age, salary, number of years in company, and number of hours work a day. then I have to sort they arrays by name, salary number of years in the compay and then number of hours work a day.

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by stephen84s
0

To determine the size of the array:

-Create a variable called size that represents the size the user wants the array to be
-Ask the user what they want the size of each array to be
-Initialize the arrays using the variable, size, that you created earlier.

Once you get that far post your code and I'll help more.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.