Why Choose Us?
0% AI Guarantee
Human-written only.
24/7 Support
Anytime, anywhere.
Plagiarism Free
100% Original.
Expert Tutors
Masters & PhDs.
100% Confidential
Your privacy matters.
On-Time Delivery
Never miss a deadline.
For this activity, you are asked to use String arrays, loops, menus and methods to make a program that assigns up to 24 people into 3 even shifts: Allow the user to enter up to 24 names/people into a String array
For this activity, you are asked to use String arrays, loops, menus and methods to make a program that assigns up to 24 people into 3 even shifts: Allow the user to enter up to 24 names/people into a String array. They should be able to enter less than 24 and stop if they choose. (3 points) The program should split the people into 3 equal shifts (morning, afternoon and evening). These should each be stored in their own array of length 8. (3 points) If it is not possible to get 3 even shifts, it should notify the user that the shifts are not equal. (1 point) Once the shifts are assigned, allow the user to do any of the following (write a method for each of these activities): The program should print all of the people in alphabetical order (by first name) (3 points) Prompt the user for a shift name to look up - the morning, afternoon or evening shift workers names are printed out (3 points) Prompt the user for a name to look up - the program says which shift they are working (3 points) The program should only print the names entered, not empty Strings, blanks or null values. (1 point) DO NOT use ArrayLists for this activity. We will discuss this topic after you have completed and reviewed this lab. Up to 10% of your grade is also connected to following good programming practices and programming style: using clear identifiers overall organization and code efficiency such as use of methods where appropriate, limiting main() to <= 50 lines avoiding code repetition (especially in extreme cases)
Expert Solution
PFA
Need this Answer?
This solution is not in the archive yet. Hire an expert to solve it for you.





