Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

During the tax season, every Friday, the J&J accounting firm provides assistanoe to people who prepare their own tax returns. Their charges are as follows:

image text in transcribed
During the tax season, every Friday, the J&J accounting firm provides assistanoe 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 or equal to 30 minutes, there are no charges; otherwise, the servic charges are 40% of the regular hourly rat b. For others, if the consulting time is less than or equal to 20 minutes, there e for the time over 30 minutes. 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 x 0.40 x (45/60)$21.00) Write 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 retun the billing amount. Your program may prompt the user to enter the consulting time in minutes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

ISBN: 1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago