Question: using C programming language Part 1 Ticket discount ( if statements / elif ) Tell the user that tickets cost 1 4 dollars . Then

using C programming language Part
1
Ticket discount
(
if statements
/
elif
)
Tell the user that tickets cost
1
4
dollars. Then ask the user his age. If the user's age is
<
1
8
tell them that they can get a
1
0
dollar admission for being a minor, If the user
s age is
>
=
6
5
,
tell them that they can get a
1
0
dollar admission for being a senior citizen, lastly let them know if they have to pay full price.
Alternative: Do I have enough? User wants to buy your product ask him how much money he has, calculate the price of your product plus its
8
%
sales tax and then tell him if he can buy it or not and if he can then congratulate him on his purchase and let him know how much money he has left now

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!