A flow chart and a pseudocode for the following:
a. The Downdog Yoga Studio offers five types of classes, as shown in Table 6-2. 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 requests 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.
Class Number Class Name
1 Yoga 1
2 Yoga 2
3 Children's Yoga
4 Prenatal Yoga
5 Senior Yoga