Question

Brianna Watt, a consultant doing business as Watt Gives, wants a program to create an invoice...

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

Homework Answers

Answer #1

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

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Beth R. Jordan lives at 2322 Skyview Road, Mesa, AZ 85201. She is a tax accountant...
Beth R. Jordan lives at 2322 Skyview Road, Mesa, AZ 85201. She is a tax accountant with Mesa Manufacturing Company, 1203 Western Avenue, Mesa, AZ 85201 (employer identification number 11-1111111). She also writes computer software programs for tax practitioners and has a part-time tax practice. Beth is single and has no dependents. Beth was born on July 4, 1972, and her Social Security number is 123-45-6789. She wants to contribute $3 to the Presidential Election Campaign Fund. The following information...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
2. SECURING THE WORKFORCE Diversity management in X-tech, a Japanese organisation This case is intended to...
2. SECURING THE WORKFORCE Diversity management in X-tech, a Japanese organisation This case is intended to be used as a basis for class discussion rather than as an illustration of the effective or ineffective handling of an administrative situation. The name of the company is disguised. INTRODUCTION In light of demographic concerns, in 2012, the Japanese government initiated an effort to change the work environment in order to secure the workforce of the future. Japan is world renowned for its...
      MK Restaurant: Branding of Thai-Style Hotpot The restaurant industry is one of the most...
      MK Restaurant: Branding of Thai-Style Hotpot The restaurant industry is one of the most competitive in Thailand. With a large number of players ranging from restaurants in five-star hotels, global fast-food chains to small stalls along the streets and everything in between, the Thais are spoiled for choice. In addition, as the world becomes globalized, consumers are familiar with international dishes and would not hesitate to try new offerings from the other side of the globe. As a...