Question: Additional Project on Arrays Create a program to add 7 vacation days to each employees original vacations days. Create two arrays of 9 elements each.

Additional Project on Arrays

Create a program to add 7 vacation days to each employees original vacations days. Create two arrays of 9 elements each. One array represents the employees who can be represented as Employee number 1, employee number 2, etc. The other array represents the number of vacation days which each employee has. Use these numbers for this array: 15, 20. 25, 10, 30, 10, 30, 20, 15. These are parallel arrays in that Employee number 1 has 15 days and employee number 2 has 20 days, etc. Add 7 days to each of the days in the vacation array. Your output should say Employee number 1 now has 22 vacation days. Employee number 2 now has 27 vacation days. etc.

please help! c++.. thansk so much

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!