Question
For a pet sitting service. The user will enter the pet information and you will generate a bill amount for that pet. They will enter
For a pet sitting service. The user will enter the pet information and you will generate a bill amount for that pet. They will enter pets until a sentinel value ( -1, quit, ZZZZ) is entered to quit the program. Input data will be the type of pet, pet name, pet color, pet weight, how many hours required, and any extra activities needed which are bathing or walking. The cost for the service is a basic rate of $20 an hour for small animals, $25 an hour for medium animals and $30 an hour for large. Small animals are 10 pounds or less, Medium are 11 to 45 pounds and large are over 45 pounds. Add an extra charge for walking the pet $15. Add an extra charge of $25 if bathing the pet. After the information is entered display the charge for that pet and all the information entered, then let me enter another pet.
Please the program should be in Java. Thank you!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
import javautilScanner public class PetSittingService public static void mainStr...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started