Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I need to create a pseudocode for pet check-in to meet the PET BAG company. ( Don't need to be written in code format,

Hello,

I need to create a pseudocode for pet check-in to meet the PET BAG company. ( Don't need to be written in code format, only in normal words)

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 groomed. Only dogs can be groomed and only if they stay two or more days.
  • Assign the pet to a space.

To help to develop the pseudocode step by step answering these questions:

  • How would I break down these steps in a way that a computer can understand?
  • What information would I need from the user at each point?
  • When would it be a good idea to use decision branching, such as "IF" and "IF ELSE" statements?
  • What input does the computer need to complete the task? Be sure to prompt the user for the appropriate input.
  • What output should the computer display to the user?
  • When might you need to use decision branching and use a different set of steps depending on the user input? If you used decision branching, did you account for all possible input values?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions