[JAVA] **only one question Write a complete Java program called CalcTotalPrice.
ID: 665202 • Letter: #
Question
[JAVA] **only one question
Write a complete Java program called CalcTotalPrice. The program must include five methods: getSaleTotal, getSalePrice, getSaleWeight, calcTax, and calcShipping. getSaleTotal takes no input parameters and returns a double, which is the sale total, and which it computes by calling the other four methods. getSalePrice returns a double, which it gets from the user at the command line. getSaleWeight returns a double, which it gets from the user at the command line. calcTax takes a double as a parameters (the sale price) and returns the tax amount as a double (use 6% as a fixed tax rate). calcShipping takes a double as a parameter (the sale weight) and returns the shipping amount as a double (calculate shipping as $10 if weight is less than 10 and $20 if weight is 10 or greater). getSaleTotal should print the sale price amount, tax amount, shipping amount, and sale total amount to the command line.