Tax returns

I’m trying to write my paper and I’m stuck. Can you help?

Our reliable essay writing service is a great opportunity for you to save your time and receive the best paper ever.

During the tax season, every Friday, the J&J accounting firm provides assistance to people who prepare their own tax returns. Their charges are as follows:If a person has low income (<= 25,000) and the consulting time is less than or 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.For others, if the consulting time is less than or equal to 20 minutes, there are no service charges; otherwise, service charges are 70% of the regular hourly rate for the time over 20 minutes.(For example, suppose that a person has low income and spent 1 hour and 15 minutes, and the hourly rate is $70.00. Then the billing amount is 70.00 * 0.40 *(45 / 60) = $21.00.)I need a program that prompts the user to enter the hourly rate, the total consulting time, and whether the person has low income. The program should output the billing amount. Your program must contain a function that takes as input the hourly rate, the total consulting time, and a value indicating whether the person has low income. The function should return the billing amount. Your program may prompt the user to enter the consulting time in minutes.So far I have:#include using namespace std;double calculateBill(int income, int consultingMinutes, double hourlyRate);int main(){int income, consultingMinutes;double hourlyRate;  cout << "Please enter the clients income: $" ;  cin >> income;  cout << "Please enter the consulting time in minutes: ";  cin >> consultingMinutes;  cout << "Please enter the hourly rate: $";  cin >> hourlyRate;cout << "Your total bill ammount comes to: $" << calculateBill(income, consultingMinutes, hourlyRate) << endl;  return 0;}double calculateBill(int income, int consultingMinutes, double hourlyRate)  int main(){if (income <= 25000) {if (consultingMinutes <= 30)return 0;elsereturn hourlyRate * 0.40 * ((consultingMinutes - 30) / 60);}else {if (consultingMinutes <= 20)return 0;elsereturn hourlyRate * 0.70 * ((consultingMinutes - 20) / 60);}  return 0;}its not giving me the correct output help will be greatly appreciated*~No Java, Just C++~*

Plagiarism-free and delivered on time!

We are passionate about delivering quality essays.

Our writers know how to write on any topic and subject area while meeting all of your specific requirements.

Unlike most other services, we will do a free revision if you need us to make corrections even after delivery.

ORDER PROCESS

How it Works

c

Place an order

Fill out the order form.

Attach any custom instructions that is required to complete your order.

Make Payment

Pay online safely.

The order form will redirect you to a payment page.

Receive Order via Email

Once the order is complete, we’ll send it via the email provided on the order form.

All Papers are Written from Scratch