Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help creating functioning Java based on the provided pseudocode and instructions in the provided screenshots. Use the check-in methodAny questions please ask. check-in()
I need help creating functioning Java based on the provided pseudocode and instructions in the provided screenshots. Use the "check-in method"Any questions please ask.
check-in() if pet dog then if dog space available then if pet dog = new then register pet else update information if stay 2 days or less then grooming assign space and show confirmation and exit else dog space not available and show confirmation and exit else if cat space available then if pet cat = new then register pet else update information assign space and show confirmation and exit else cat space not available and show confirmation and exit Functionality Pet BAG is seeking an application that has the following initial functionality: Ability to check in pets Ability to check out pets O Each of these functional areas is described in more detail below. Pet Check In The method for the pet check in process should meet the following criteria: . . Determine if the pet is a dog or a cat and check for boarding space. There are 30 spaces for dogs and 12 for cats. Pet BAG will need to be able to adjust these counts as the shop grows. If there is space for a new pet, collect the appropriate information. For returning pets, update the information as needed. Gather information on the length of the stay. Determine if the pet owner would like the pet to be gro med. dogs can be omed and only if they stay two or more days. Assign the pet to a space. Pet Check Out The method for the pet check out process should meet the following criteria: . Identify the pet and its boarding space. Determine if the pet had a grooming fee. Only dogs can be groomed and only if they stay two or more days. Use the following table to calculate the total fees. Mark the boarding space as vacant. . Type of Pet Dog (greater than or equal to 30 lbs.) Dog (2030 lbs.) Dog (fewer than 20 lbs.) Cat Daily Boarding Fee $34.00 $29.00 $24.00 $18.00 Grooming Fee $29.95 $24.95 $19.95 N/AStep by Step Solution
There are 3 Steps involved in it
Step: 1
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