Answer to Question #238994 in Algorithms for Aulakh

Question #238994
A painting company wants to use your services to help create an invoice
generating system. The company charges $30 per hour worked. They also charge
tax 15%. An invoice should display all the information number of hours, the
charge per hour, the total BEFORE tax and the total AFTER tax. Since this is an
invoice, we also need to display the name of the client who is being charged.
Using Pseudocode, develop an algorithm for this problem
1
Expert's answer
2021-09-19T01:11:59-0400
Algorithm:
Start
Set charges to 30
Set tax to 0.15
Read the name of the client
Read number of hours
Set total BEFORE tax to ((number of hours)*(charges))
Set total AFTER tax to (total BEFORE tax)-((total BEFORE tax)*(tax))
Display the name of the client who is being charged
Display number of hours
Display charge per hour
Display the total BEFORE tax
Display the total AFTER tax 
Stop

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS