Payroll Program
Description
The purpose of this program is to input the employee's information including name, hours worked, and hourly rate, then calculate the weekly pay and print the payroll report.Associated Concepts:
String object
Input data from the keyboard
Output the result to the monitor
Input data from the keyboard
Output the result to the monitor
Algorithm:
Declare variables to store name, hours worked, hourly rate,
and weekly pay
Read data values from the keyboard and store them into variables
Calculate the weekly pay based on the user input data
Print the payroll report
Read data values from the keyboard and store them into variables
Calculate the weekly pay based on the user input data
Print the payroll report