Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a java method called FindTax() that is passed a quantity (integer), price (double), and taxrate (double) as parameters. Have the method find the total
Create a java method called FindTax() that is passed a quantity (integer), price (double), and taxrate (double) as parameters. Have the method find the total for the order by multiplying the quantity times the price, and then find the tax by multiplying the taxrate times the total and then return this tax. [Make sure to return the tax, the return is part of this question.]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started