Files
Coleman-Code/COM107/Project2/Project2bPseudocodeAsNPpp.txt
T

29 lines
648 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
PROMPT for input of hours worked
STORE hours worked
CALCULATE gross pay
grossPay = hours * rate
CALCULATE tax
Tax = gross * .14
CALCULATE net pay
netPay = gross – taxes
CALCULATE clothing expense
clothing = netPay * .10
CALCULATE school supply expense
supplies = netPay * .01
CALCULATE remainder
remainder = netPay – clothing – supplies
CALCULATE student savings
studentSavings = remainder * .25
CALCULATE parental savings
Parental savings = student Savings * .5
DISPLAY pay rate
DISPLAY hours
DISPLAY gross pay
DISPLAY taxes
DISPLAY net pay
DISPLAY clothing expense
DISPLAY supply expense
DISPLAY student savings
DISPLAY parental savings