A local zoo offers three different memberships: an individual membership for $99 per year, a dual membership

Question:

A local zoo offers three different memberships: an individual membership for $99 per year, a dual membership for $175 per year, and a family membership for $225 per year. The membership director wants a program that displays the total membership revenue for the year, as well as the amount of the total revenue contributed by each membership type.

a. Using the chart shown earlier in Figure 4-12 as a guide, enter the input, processing, and output items, as well as the algorithm, in the first column.

b. Desk-check the algorithm twice. For the first desk-check, use 50, 75, and 150 as the numbers of individual, dual, and family memberships sold during the year. For the second desk-check, use 35, 150, and 265. Record the percentages with one decimal place.

c. Enter the C++ instructions in the second column of the chart, and then desk-check the program using the same data used to desk-check the algorithm.

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

Step by Step Answer:

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