Question: Using a flowchart or pseudocode, create an algorithm to solve the following problem: The current year and the year in which the employee joined an

"Using a flowchart or pseudocode, create an algorithm to solve the following problem:
The current year and the year in which the employee joined an organization are
entered through the keyboard. If the number of years for which the employee has
served the organization is greater than 3 then, a bonus of RM2500 is given to the
employee. If the years of service are not greater than 3, then the program should
display on the screen the message Try again next year.
You may use the help of the abbreviations to save sp TH19 ace:
Current year = cy
Year of join = yoj
Years of service = yos"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!