Write the pseudocode to solve the following problem


1. Write the pseudocode to solve the following problem: In a manufacturing firm, workers are paid monthly bonus based on their output quantities. For every 100 output units beyond the minimum of 1000 units, $50 bonus is paid (e.g. worker with 1524 output units will get a bonus of $250). You should get the # of units as parameter and compute the bonus amount.

Input Name
Input Output Units
Units= Output units - 1000
Min units= 1000

Get Name, Output units
Do while not EOF
If output units < Min units
End if 
If Output units> Min units 
bonus= .5 x Units
End if
Pay bonus
End while
Get Name, Output units
End program


2. Write the pseudocode to solve the following problem: All employees, by default, get 2 weeks of vacation per year. All employees who have served the company for 3 years get 3 weeks of vacation. All employees who have served more than 3 years get 1 additional day for vacation for each additional year. Program should accept the years of service and output # of vacation days. 


Input Name 
Input YOS (years of service)
Vac Min= 14 (days)
Vac= 
Get Name, YOS

Do while not EOF
If YOS< 3
Print Name, VAC Min
End if
If YOS=3
Print Name, VAC Min+7
End IF
If YOS > 3
Vac =21+ 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write the pseudocode to solve the following problem
Reference No:- TGS0124515

Expected delivery within 24 Hours