Hey, I am making a program and the program I am using is Watcom so I was wondering if you guys can help me program this.
In my unit, it asked:
The owner of a large business wishes to use a computer to print the paycheque for one of her employees. She uses the formula NET = GROSS- DEDUCTIOn to calculate the net pay amount.
Write a program that displays a play slip containing the employee's name, amount of gross pay, amount of deductions and amount of net pay when you input the employee's name and gross pay. The amount taken away from the gross pay is 17%.
When executed with the test date underlined, the proogram should look exactly like the one below except for the words in parenthesis. Save the program as "pay.bas"
So practically they want this lay out in the program:
ENTER NAME OF EMPLOYEE: Peter Williams (INPUT0
ENTER AMOUNT OF GROSS PAY $ 1000 (INPUT
EMPLOYEE'S NAME: Peter Williams (OUTPUT)
AMOUNT OF GROSS PAY $1000 (OUTPUT)
AMOUNT OF DEDUCTION $170 (OUTPUT)
AMOUNT OF NET PAY $830 (OUTPUT)
END OF PROGRAM (OUTPUT)
If you got it. Please upload it with
www.yousendit.com or send it to me at
nissan_skyline1@hotmail.com. Thanks!