You are on page 1of 3

Republic of the Philippines

Laguna State Polytechnic University


Province of Laguna

College of Computer Studies


CMSC 204

Esteban,Marc Steven J.

BSCS-2A

ABC
COMPANY EMPLOYEE’S SALARY PROBLEM
Problem:
The salary of ABC Company is computed by multiplying the number of hours worked and
rate per hour. Make a program that will show the following:

Pseudocode

BEGIN PROGRAM

OUTPUT “Input hours of worked”


INPUT Hours
OUTPUT “Input rate per hour”
INPUT Payrate
salary = hours * rate per hour
OUTPUT salary

END MAINPROGRAM

.
Republic of the Philippines
Laguna State Polytechnic University
Province of Laguna

Flowchart

BEGIN

Display
“Input hours of
worked”

Read
Hours worked

Display
“Input hours of
worked”

Read
Pay rate

Multiply Hours by Pay Rate

Display
Salary

END

Programming Structure Solution

Sequence
Republic of the Philippines
Laguna State Polytechnic University
Province of Laguna

You might also like