Documente Academic
Documente Profesional
Documente Cultură
LEVEL:-HND 2
COURSE CODE:-COM412 (00PASCAL PRACTICAL)
ASSIGNMENT
BEGIN
INPUT HOURS
HOURS= 40
+5 *(HOURS 40)
OUTPUT PAY
END
The program needs to ask for the number of hours worked, and then write
"invalid hours" if less than 0.00 hour or more than 40 hours are worked. If 40
hours worked, #550 pay earned. If more than 40 hours, the overtime pay is
#3018.125 an hour (60 hours = #3155.95).