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
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.
d. If necessary, create a new project named Advanced15 Project, and save it in the Cpp8\Chap04 folder. Enter your C++ instructions into a source file named Advanced15.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Test the program using the same data used to desk-check the program
submit a screenshot of all of your programs output along with the .cpp files.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started