Question: JAVA Programming Challenge Write a program that computes the tax and tip on a restaurant bill. The program should ask the user to enter the

JAVA Programming Challenge
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 10% of the meal charge. The tip should be 20% of the total after adding the tax. The program should then ask the user if they would like to donate $5.00 to local charities. If the user enters 'y', add the donation to the bill. If the user enters any other value, the donation is not applied. Display the meal charge, tax amount, tip amount, donation value, and total bill on the console.

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 Programming Questions!