Title | 1-6 Assignment Pseudocode and Flowchart |
---|---|
Author | Sheena Wooten |
Course | Religions of the World |
Institution | Southern New Hampshire University |
Pages | 3 |
File Size | 116.5 KB |
File Type | |
Total Downloads | 57 |
Total Views | 130 |
i dont have a description...
Pseudocode Pet Check-in Function petCheckIn ();
Sheena Wooten SNHU, IT-140 1-6 Assignment: Pseudocode and Flowchart 7/6/2020
OBTAIN Animal breed Cat or Dog? IF Boarding is Available THEN UPDATE system for availability OBTAIN Returning Pet or New Pet IF returning OBTAIN updated information/verify information in the database ELSE New OBTAIN pet/owner information OBTAIN duration of pet stay FOR Dogs stay less than or equal to two days THEN OFFER optional grooming service WHILE Cat No groom service offered END
Star t If pet is a dog
Bring Pet
For Check in
YES
Current New dog count = current dog count + 1 dog count
Database
NO
If new dog count < = 30
YES Pet count = new dog count
NO
YES
If this pet stayed before
If pet is a cat
YES
En d
Current cat count
NO NO
NO Pet count = new pet count
NO Groom ing info NO
En d
New cat count = current cat count + 1
If new cat count < = 12
YES YES
YES
NO If pet is a dog
Update the pet info
AssignStore a space PetBAG/ updated pet info along w/ pet count and date of admission the in collected
Database
Collect appropriate pet info
YES
Get duration of stay PetBAG
If satay is >=2 days
YES
Groom Pet
PetBAG Flowchart...