You are on page 1of 2

Machine Problem 1: Prog13

Create a complete C# program that will compute for the bonus of an employee. Consider the following
conditions: If the employee’s monthly salary is less than 15,000 pesos, the bonus is 25% of the salary; for
the employees with salaries greater than or equal to 15,000 pesos, the bonus is 5,500 pesos. Print the
name and the corresponding bonus for each employee.

PSEUDOCODE

BEGIN

Prompt user for employee name

Save input to variable name

Prompt user to enter monthly salary

Save input to variable salary

IF salary < 15000

bonus1 = (salary * 25) / 100

PRINT name

PRINT bonus1

ELSE IF salary >= 15000

bonus2 = 5500

PRINT name

PRINT bonus2

ELSE

PRINT invalid

ENDIF

END
FLOWCHART

You might also like