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
Comments