Question
There will be counters and accumulators of totals that will be very important in this problem. (Total Clients, Total Hours, total hours billed at 150,
There will be counters and accumulators of totals that will be very important in this problem. (Total Clients, Total Hours, total hours billed at 150, total hours billed at 100 and total fees) Use a WHILE structure to design the pseudocode to prepare a monthly report for a legal clinic. Input consists of a series of records that contain the name of the client, name of the attorney, and hours worked by the attorney on the case. Output is a monthly legal clinic report that lists the clients name, attorney, hours worked by the attorney on the case, and fee. The fee charged by the attorney is based upon the hours worked. The first 20 hours are charged at the rate of $150.00 per hour. Hours in excess of 20 are charged at the rate of $100.00 per hour. After all records have been processed, the final totals are to be printed. Include the total clients, total hours billed, total hours billed at $150.00 per hour, total hours billed at $100.00 per hours, and total fees. End of file (or the loop will stop) when the hours worked input is 0. Make sure that you include a statement to make sure that hours does not equal zero at the start of the process. It may be helpful to use modules in this program.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started