Question: Java please // Please use the code provided ! I have attached a photo. Define a method find TaxPercent0 that takes two integer parameters as

Define a method find TaxPercent0 that takes two integer parameters as a person's salary and the number of dependents, and returns the person's tax percent as a double. The tax percent is returned as follows: Ex. If the input is 1750002 , then the output is: 0.18 Ex: If the input is 1750002 , then the output is: 0.18 Import Java.util. scanner; public class TaxFinder \{ Ilenter code /1 public static void main(String ] args) \{ Scanner scnr = new Scanner(System. in); int earnings; int dependents; earnings = scnr. nextInt ) dependents = scnr. nextint ); System, out, println(findTaxPercent(earnings, dependents)); 3 1 find axPercent 0 is called with the arguments earnings and dependents. find axpercent0's return value is then output, followed by a newline
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
