| Lecture notes for the Introduction to Computer Science I by James Tam | Return to the course web page | 
Write a program to calculate the wages of an employee in your company. An 
employee is paid hourly and the employee makes $8.05 each hour. You need 
to make a simple program, where the number of hours worked by an employee 
is entered and the total salary is computed. This is done in the following 
2 steps:
1. Ask the user to enter the number of hours the employee has worked 
(hours).
2. The total salary of the employee is computed as the follows:
total := hours * 8.05
3. Finally print out the total amount the employee makes. This needs 
to be formatted to two decimal places.