Question: JAVA Upvote for Quick working code. Thank you. Write a Java program that uses the console to communicate with the user. Your program will print

JAVA Upvote for Quick working code.

JAVA Upvote for Quick working code. Thank you. Write a Java program

Thank you.

Write a Java program that uses the console to communicate with the user. Your program will print output to the console using System.out.println and System.out.print. Read any input from the user via a Scanner object. Finish the code below so that it asks jihe user to enter the amount of a purchase. Your program will then report the amount of Michigan sales tax that is owed (multiply the user's amount by 0.06 to determine our six percent tax rate). Here is a sample run of the program (it should work for other values other than the $10.00 amount shown below -- it should work for any amount entered by the user: What was the cost of your purchase: 10.00 The tax on that $10.00 purchase is $0.60. Finish the code started below

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!