Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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