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.
AntMastr
0
Newbie Poster
Recommended Answers
Jump to PostTo 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 …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.