Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Employee's promotion evaluation In a company XYX, employee's performance assessment is going on and based on performance, promotion to the next band level should

image text in transcribed
1. Employee's promotion evaluation In a company XYX, employee's performance assessment is going on and based on performance, promotion to the next band level should be considered. The promotion to the next level is depended on certain factors: - 1. Last 3 yrs. rating 2. Last 3 yrs. learning hours Your job is to define a function validateForPromotion() to find out whether a given employee is eligible for promotion or not. All employee information are stored in two arrays - first array is used to store employee details like employee id, employee name, salary and band and second array store information related to past three years salary, learning hours and band of the employee. The function should read data from these two arrays corresponding to given he details of the employee is stored

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions