Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 12 Weeks Ago, 4 Days Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need psuedocode and flowchart for each part please!
Instructions:
a) The Downdog Yoga Studio offers five types of classes, as shown in the table below:
Class number Class Name
1 Yoga 1
2 Yoga 2
3 Children’s Yoga
4 Prenatal Yoga
5 Senior Yoga
Design a program that accepts a number representing a class and then displays the name of the class.
b) Modify the Downdog Yoga Studio program so that numeric class request can be entered continuously until a sentinel value is entered. Then display each class number, name, and a count of the number of requests for each class.
Rubrics: You must use arrays in this assignment. Your main program should have start/stop, declarations with data type for all variables clearly stated, input, calculation/process, output, and modules as needed. Modules should include module names and return. Use appropriate symbols for flowcharts and indentation for pseudocode. When using sentinel value be sure the variable used in the sentinel value matches the priming variable used in housekeeping module and the input variable in detailLoop module. Hint: in ”a” note the difference between class number and its index; in ”b” output the array results in endOfJob. Submit all your work in a single PDF file. See the textbook example for dependents on page 222, the endOfJob module for ”b” should be very similar to this example while ”a” is displaying only the name hence it is done in the detailLoop module.
-----------