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