//Author:Manavjot Singh //Date last modified:May 12,2021
Name- Manavjot Singh
Student Id- 0765985
Task#2
Start
Display "Welcome To The Painting Xperts' Invoice Generator"
//Declare Variables
Declare Numeric totalHours //the number of hours
Declare Numeric hourCharges //charges per hour Declare Numeric costBeforeTax //total cost before tax Declare Numeric costAfterTax //total cost after tax
//Declare Constants
Declare constant CHARGES_PER_H = 30
Declare constant TAX_CHARGES = -0.15
//Get user input
Display "What is the number of hours"
Input totalHours Display "What are the charges per hour" Input hourCharges Display "What is the total cost before tax" Input costBeforeTax Display "What is the total cost after tax" Input costAfterTax