Question: C + + . Use while ( ) loop. Admission ticket to the theater is $ 1 3 . 6 9 . There are discounts

C++. Use while() loop.
Admission ticket to the theater is $13.69.
There are discounts as follows:
Children under age 12 will get 15% discount (age<=12).
Seniors above age 60 will get 20% discount (age >=60).
There is a cashback of 3% regardless of ages.
Write a program that reads age until 0 is entered, and calculates the
ticket price and cashback.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!