Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

Explain two ways that the brain controls pituitary gland activity.

Answered: 1 week ago

Question

using signal flow graph

Answered: 1 week ago

Question

How do we organise for international logistics?

Answered: 1 week ago