Question: java Integer arrays employeeGrades and yearsOfExperience are read from input, containing the grades and years of experience of each employee. Initialize variable count with 0

java Integer arrays employeeGrades and yearsOfExperience are read from input, containing the grades and years of experience of each employee. Initialize variable count with 0. For each employee, increment count if an employee meets both of the following conditions:
Grade is greater than or equal to 55.
Year of experience is an odd integer.
Lastly, output count followed by a newline.
Ex: For the input:
89874145
43351810
then the output is:
2

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 Databases Questions!