2.13. Restaurant Bill - Java

Words
101
Reading
1 min
Listen
Play
10y

Starting out with Java: From control structures through objects

Chapter 2

Programming Challenges

13. Restaurant Bill

Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the charge for the meal. The tax should be 6.75 percent of the meal charge. The tip should be 20 percent of the total after adding the tax. Display the meal charge, tax amount, tip amount, and total bill on the screen.

Gaddis, Tony (2015-05-29). Starting Out with Java: From Control Structures through Objects (6th Edition) (Page 107). Pearson. Kindle Edition. 

Happy Steeming Everyone! :)

2.13. Restaurant Bill - Java | Ecency