Question
JAVA CODE Need Java Code for Pseudocode. PROMPT USER: What would you like to monitor? INPUT: Animal INPUT: Habitat WHILE Monitor=Animal Select Animal lions tigers
JAVA CODE
Need Java Code for Pseudocode.
PROMPT USER: What would you like to monitor?
INPUT: Animal
INPUT: Habitat
WHILE Monitor=Animal Select Animal lions tigers bears giraffes
IF Animal= Lion
OUTPUT= Name, Age, Health Concerns
IF Animal= Tigers
OUTPUT= Name, Age, Health Concerns
IF Animal= bears
OUTPUT= Name, Age, Health Concerns
IF Animal= giraffes
OUTPUT= Name, Age, Health Concerns
WHILE Monitor=Habitat Select Habitat Penguin Bird Aquarium
IF Habitat=Penguin
OUTPUT= Temperature, Food Source, Cleanliness
IF Habitat=Bird
OUTPUT= Temperature, Food Source, Cleanliness
IF Habitat=Aquarium
OUTPUT= Temperature, Food Source, Cleanliness
ELSE = Error! Please Select from Choices. END Need to include txt file as well
ANIMALS.TXT
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.TXT
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
Step 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