Problem
1. Define an array named yearsEmployed, a 50-element array of ints to hold the number of years employed of 50 employees.
2. Write the statements to do the following:
The user will be prompted to enter the number years employed of each employee. Each number is read and stored in the array. Validation of input is not required.