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
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
Get Answers For Free
Most questions answered within 1 hours.