Write a java code that ask users to pick two of the job categories and enter...

60.1K

Verified Solution

Question

Programming

Write a java code that ask users to pick two of the jobcategories and enter two working areas from each category. Theusers must enter the start and end time for each of the twoselection and calculate the hours for each category and the totalhours for all the categories. If the users total hours is more that10 hours, they are awesome, if not, they are lazy.

Shor and simple code using while or for loops. Thanks

Categories          Jobs

A                           pick

                              mop

                              Pack

B                           stock

                              service

                              Stow

C                           clean

lift

                              Restock

Answer & Explanation Solved by verified expert
3.7 Ratings (513 Votes)
import javautilScannerpublic class JobCat public static void mainString args Scanner sc newScannerSystemin String categories newString2 showing the jobs    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students