Question: Pseudocode Code: Monitoring System As a zookeeper, it is important to know the activities of the animals in your care and to monitor their living
Pseudocode Code: Monitoring System
As a zookeeper, it is important to know the activities of the animals in your care and to monitor their living habitats. Create a monitoring system that does all of the following: - Asks a user if they want to monitor an animal, monitor a habitat, or exit
- Displays a list of animal/habitat options (based on the previous selection) as read from either the animals or habitats file (I copied and pasted the text from within each file and its listed below:
Animals File:
Details on lions Details on tigers Details on bears Details on giraffes Animal - Lion Name: Leo Age: 5 *****Health concerns: Cut on left front paw Feeding schedule: Twice daily Animal - Tiger Name: Maj Age: 15 Health concerns: None Feeding schedule: 3x daily Animal - Bear Name: Baloo Age: 1 Health concerns: None *****Feeding schedule: None on record Animal - Giraffe Name: Spots Age: 12 Health concerns: None Feeding schedule: Grazing
Habitats File:
Details on penguin habitat Details on bird house Details on aquarium Habitat - Penguin Temperature: Freezing *****Food source: Fish in water running low Cleanliness: Passed Habitat - Bird Temperature: Moderate Food source: Natural from environment Cleanliness: Passed Habitat - Aquarium Temperature: Varies with output temperature Food source: Added daily *****Cleanliness: Needs cleaning from algae
- Asks the user to enter one of the options
- Displays the monitoring information by finding the appropriate section in the file
- Separates sections by the category and selection (such as Animal - Lion or Habitat - Penguin)
- Uses a dialog box to alert the zookeeper if the monitor detects something out of the normal range (These will be denoted in the files by a new line starting with *****. Do not display the asterisks in the dialog.)
- Allows a user to return to the original options
I just need the pseudocode code and not the actual Java code. Thanks for your help!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
