Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Brianna Watt, a consultant doing business as Watt Gives, wants a program to crea

ID: 3782974 • Letter: B

Question

Brianna Watt, a consultant doing business as Watt Gives, wants a program to create an invoice for consulting services. Normally, she works on a project for five days before sending an invoice. She writes down the number of hours worked on each day and needs a program that asks for these amounts, totals them, and multiplies the amount by her standard rate of $30 per hour. The invoice should include Briannas business name, the clients business name, the total number of hours worked, the rate, and the total amount billed. The information will be displayed onscreen. using pseudocode, develope an algorithm to solve this program. Include standard documentation and comments

Explanation / Answer

Module main()

Display "Enter client name"

Input clientname

i=1             //initialize counter i=1 to read hours worked for 5 days

Do While(i<=5)

Input hoursworked

totalhours = totalhours +hoursworked            // compute total hours in 5 days

i= i+1              //increment counter

EndDo

totalbill = 30 * totalhours              // total bill is computed for 5 days

Display "INVOICE"

Display "Brianna Watt"

Display "Client Name :" clientname

Display "Hours Worked :" totalhours

Display " Rate per hour : $30"

Display "Total Bill $:" totalbill

return

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote