In C++ Write a program that reads as inputs from the user: a bill amount number of people to split the bill with Calculate the following for tips from 18% to 22% inclusive: total tip amount total bill with tip amount per person total bill with tip per person The program will output the information as shown in the sample below Note: All money values should be displayed to 2 decimal places with a dollar sign to start.
In C++ Write a program that reads as inputs from the user: a bill amount number of people to split the bill with Calculate the following for tips from 18% to 22% inclusive: total tip amount total bill with tip amount per person total bill with tip per person The program will output the information as shown in the sample below Note: All money values should be displayed to 2 decimal places with a dollar sign to start.
Output should read:
Enter Bill Amount: 100.55
Enter Number of People: 10
18% Total Tip: $18.10
Total Amount: $118.65
Tip / Person: $1.81
Total / Person: $11.87
19% Total Tip: $19.10
Total Amount: $119.65
Tip / Person: $1.91
Total / Person: $11.97
20% Total Tip: $20.11
Total Amount: $120.66
Tip / Person: $2.01
Total / Person: $12.07
21% Total Tip: $21.12
Total Amount: $121.67
Tip / Person: $2.11
Total / Person: $12.17
22% Total Tip: $22.12
Total Amount: $122.67
Tip / Person: $2.21
Total / Person: $12.27
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)