43.6k views
4 votes
In Java, write a program that asks a user for the total cost of a purchase and calculates the tax and the total purchase price. Make sure to write out the cost of the purchase, the tax, and the total purchase price formatted to two decimal places using the NumberFormat class.

1 Answer

2 votes

Answer:

646i01

Step-by-step explanation:

Beause this number use 10

User Piyush Ghediya
by
5.7k points