Write a c program that calculates the amount of tip per person given bill amount after tax. A tax of 16% will be added to the bill. Your program should input the following information: 1. The bill 2. The percentage of tip that the person wants to pay: (10%, 15%, or 20%) 3. The number of persons Your program should output the following information: 1. The tax amounts. 2. The bill after tax 3. tip per person 4. Total per person

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 8PP: (Statistical) In many statistical analysis programs, data values considerably outside the range of...
icon
Related questions
icon
Concept explainers
Question

Write a c program that calculates the amount of tip per person given bill amount after tax. A
tax of 16% will be added to the bill.
Your program should input the following information:
1. The bill
2. The percentage of tip that the person wants to pay: (10%, 15%, or 20%)
3. The number of persons
Your program should output the following information:
1. The tax amounts.
2. The bill after tax
3. tip per person
4. Total per person

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 9 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr