a. The Downdog Yoga Studio offers five types of classes, as shown in Table 6-1. Design a

Question:

a. The Downdog Yoga Studio offers five types of classes, as shown in Table 6-1. Design a program that accepts a number representing a class and then displays the name of the class.


Class Number

Class Name

1

Yoga 1

2

Yoga 2

3

Children’s Yoga

4

Prenatal Yoga

5

Senior Yoga

            Table 6-1 Downdog Yoga Studio classes

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: