Write an application that recommends a pet for a user based on the user's lifestyle. Prompt the user to enter whether he or she lives in an apartment, house, or dormitory (1, 2, or 3) and the number of hours the user is home during the average day. The user will select an hour category from a menu: (1) 18 or more; (2) 10 to 17; (3) 8 to 9; (4) 6 to 7; or (5) 0 to 5. Output your recommendation based on the following table:
Save the file as PetAdvice.java.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.