[Solved] Write C Program Declare 3 Arrays Arraya Arrayb Arrayc Hold 25 Integers Write Code Followi Q37201688

Write a C++ program to declare 3 arrays, ArrayA, ArrayB, ArrayC, to hold 25 integers each. Write code to do the following – in this order. Read data into ArrayA. Print ArrayA, including the array name and using a counter to number the elements as shown below, with columns aligned. Array A 1. 59 2. 234 3. 90 4. 1285 .etc Repeat for Array B. Compute the Sum and the Average of all values in ArrayA and ArrayB. (Can do in one loop or in two.) Print results with appropriate headings. Compute the contents of ArrayC by adding ArrayA &ArrayB and storing the answer for each location in the corresponding location in ArrayC. Print ArrayC as above. Recalculate ArrayC by comparing the corresponding locations in ArrayA and ArrayB and placing the maximum value in ArrayC. Print ArrayC as above. Use your own data for testing. (HINT: get it working for a small array, e.g 5 elements) You will be provided a single file with 50 integers next week. Read the first 25 into ArrayA and the next 25 into ArrayB. You can use for loops for all of your looping. 3 5 8 2 3 4 3 1 2 3 5% 2 0 2 6 8812 9985744387 2 3 3428288000 6317658961 3 9 5855278 3 2 1384494957 Show transcribed image text Write a C++ program to declare 3 arrays, ArrayA, ArrayB, ArrayC, to hold 25 integers each. Write code to do the following – in this order. Read data into ArrayA. Print ArrayA, including the array name and using a counter to number the elements as shown below, with columns aligned. Array A 1. 59 2. 234 3. 90 4. 1285 .etc Repeat for Array B. Compute the Sum and the Average of all values in ArrayA and ArrayB. (Can do in one loop or in two.) Print results with appropriate headings. Compute the contents of ArrayC by adding ArrayA &ArrayB and storing the answer for each location in the corresponding location in ArrayC. Print ArrayC as above. Recalculate ArrayC by comparing the corresponding locations in ArrayA and ArrayB and placing the maximum value in ArrayC. Print ArrayC as above. Use your own data for testing. (HINT: get it working for a small array, e.g 5 elements) You will be provided a single file with 50 integers next week. Read the first 25 into ArrayA and the next 25 into ArrayB. You can use for loops for all of your looping.
3 5 8 2 3 4 3 1 2 3 5% 2 0 2 6 8812 9985744387 2 3 3428288000 6317658961 3 9 5855278 3 2 1384494957
Expert Answer
Answer to Write a C++ program to declare 3 arrays, ArrayA, ArrayB, ArrayC, to hold 25 integers each. Write code to do the followin… . . .
OR

