The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 305 Weeks Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Can somebody please help give me an idea of what a program might look like that would matche the pseodocode posted below? Any advice would be helpful. I have struggled to keep up in this class big time, so I could use some help creating this program. This is my final project assignment and I want to get the highest grade possible!
Â
Thank you,
Â
pseodocode below:
Â
Problem Statement/Scenario: For this assignment we are to imagine that we are in charge of managing a zoo's computer infrastructure, and we are being asked to make a monitoring program that will help zookeepers monitor the zoo animal activities and their living habitats.
Â
My Pseudocode:
Â
Invoke Method Main // Use the public static void main(String[]args)" to start execution of    program
INITIALIZE variables/options
Get User Input // Have user pick one of the following options
           1. Animal activities
           2. Animal living habitats
           3. Exit program
IF User Input = animalLivingHabitatsÂ
           Print "List of Habitat/Animal options"
IF User Input = animalActivitees
           Print "List of Animals/Activities
ELSE User Input = exit
           END
ENDIF
WHILE User Input = animalLivingHabitats
           Ask User Habitat specifics
                       DETAILS on penguin habitatÂ
DETAILS on bird house
                                   DETAILS on aquarium
// After user picks Habitat the following information will appear
           ENDWHILE
           REPEAT // for each habitat selected
                       PRINT "Habitat: "
                       PRINT "Temperature: "
                       PRINT *****"Food source: "
                       PRINT "Cleanliness: "
           UNTIL condition
WHILE User Input = animalActivites
          Ask User Animal specifics
                       DETAILS on lions
                       DETAILS on tigers
                       DETAILS on bears
                       DETAILS on giraffes
                       // After user selects Animal/Activities the following information will appear
ENDWHILE
REPEAT // for each animal selected
           PRINT "Animal: "
           PRINT "Name: "
           PRINT "Age: "
           PRINT *****"Health concerns: "
           PRINT "Feeding schedule: "
UNTIL condition
IF animalAcitiities != Healthy/normal activity
           PRINT "Healthy/normal activity with error message" //On a new line
IF animalLivingHabitats != Healthy/normal habitat
           PRINT "Healthy/normal habitat with error message" //On a new line
           ELSE
END
ENDIF
RETURN
}
}
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly