Professional Documents
Culture Documents
Ex05a Calculate+Pay+ +in+Class+Exercise
Ex05a Calculate+Pay+ +in+Class+Exercise
Develop a program that calculates the amount to be paid to an employee who has been
hired on hourly rate basis. The program will get number of hours spent in a week and hourly
rate from the user and output the amount to be paid for that week.
Pseudocode
BEGIN
INPUT
PROCESS
OUTPUT
END
C++ Code
int main()
{
// declare variables
// input
// process
// output
}