Question: please use Java program 4. Tax Return Progranm During the tax season, every Friday, J&J accounting firm provides assistance to people who prepare their own


please use Java program
4. Tax Return Progranm During the tax season, every Friday, J&J accounting firm provides assistance to people who prepare their own tax returns. Their charges are as follows: a. If a person has low income ( 25,000) and the consulting time is less than o equal to 30 minutes, there are no charges; otherwise the service charges are 40% of the regular hourly rate for the time over 30 minutes. b. For others, if the consuling time is less han or equal to 20 minutes, there are no service charges; otherwise, service charges are 70% ofthe regular hourly rate for the time over 20 minutes. (For example, suppose that a person has low income, spent 1 hour and 15 minutes, and the hourly rate is $70.00. Then the billing amount is 70.00 x 0.40 (45 / 60)-$21.00.) Write a program that prompt the user to enter the hourly rate, the total consulting time, and if the person has low income. The program should output the billing amount. Your program must contain a method that takes input the hourly rate, the total consulting time, and a value indicating if the person has low income. The method should return the billing amount. Your program may prompt the user to enter the consulting time in minutes. Additional requirements: User input should be validated. The program should repeatedly accept user input and calculate the billing amount until the user choose not to. Do not use global variables for this program!!! Sample run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
