Question: 1. Write a Java program that prompts the user to enter total sales and calls a value returning method named findTotalBill0. This method should accept

 1. Write a Java program that prompts the user to enter

1. Write a Java program that prompts the user to enter total sales and calls a value returning method named findTotalBill0. This method should accept one input parameter; sales. This method should also calculate the sales tax, using the class constant TAX. (Note: TAX 05) Finally the program will print out the total bill that the customer owes -The formula to calculate sales tax is: Sales x sales tax rate. (Example: Sales of $200.00 x.05 = S 10.00 sales tax) -The formula to calculate the total bill is Sales + sales tax (Example: Sales of $200.00+$10.00 = $210.00 total bill) SAMPLE OUTPUT Enter Total Sale: 200 The Customer's total bill is $210.00 Enter Total Sale: 100 The Customer's total bill is $105.00 Enter Total Sale: 20.50 The Customer's total bill is $21.53

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!