Question: Exercise 2: (Sum of Arrays Write a program that Create 2 integer arrays: testl and test2 of size 5 each Takes input from the user

Exercise 2: (Sum of Arrays Write a program that Create 2 integer arrays: testl and test2 of size 5 each Takes input from the user and saves it in both arrays Calculate the sum of both lists and save it in array sum Produce the output as in the sample input/output below Sample input/Output "C:\Users\10064\Documents Enter marks for test 1: 86 71 63 59 91 Enter marks for test 2: 90 54 77 81 76 The sum of both tests: 86 90 176 71 54 125 63 + 77 140 59 81 140 91 76 167
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
