Instructions Summary 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...

1 answer below »


Instructions



Summary


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 (

  • 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 X.40 X (45/60) = $21.00.)



Instructions


Write a program that prompts the user to enter yearly income, the hourly rate, the total consulting time. 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.


Attached is a little more detail.




Instructions Summary 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 x.40 x (45/60) = $21.00.) instructions write a program that prompts the user to enter yearly income, the hourly rate, the total consulting time. 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. what the grading run checks look for: tasks 0.00 out of 10.00 program runs correctly 2 0 out of 2 checks passed. review the results below for more details. checks test caseincomplete successful output input 50000 12 80 output results 8.40 show details test caseincomplete successful output ii input 20000 12 80 output results 4.00 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="" x.40="" x="" (45/60)="$21.00.)" instructions="" write="" a="" program="" that="" prompts="" the="" user="" to="" enter="" yearly="" income,="" the="" hourly="" rate,="" the="" total="" consulting="" time.="" 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.="" what="" the="" grading="" run="" checks="" look="" for:="" tasks="" 0.00="" out="" of="" 10.00="" program="" runs="" correctly="" 2="" 0="" out="" of="" 2="" checks="" passed.="" review="" the="" results="" below="" for="" more="" details.="" checks="" test="" caseincomplete="" successful="" output="" input="" 50000="" 12="" 80="" output="" results="" 8.40="" show="" details="" test="" caseincomplete="" successful="" output="" ii="" input="" 20000="" 12="" 80="" output="" results="">
Answered Same DayNov 13, 2021

Answer To: Instructions Summary During the tax season, every Friday, the J&J accounting firm provides...

Kshitij answered on Nov 14 2021
123 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here