Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!