C++ Declare three arrays: A, B and C each size 3  Read these numbers into A using for loop and cin : 1, 2, 3 Read these numbers into B using for loop and cin: -1, -2, -3 C is  A + B . this means you need to add each element of the array A to corresponding element of array B and then C is the sum. Print the elements of array C (three elements)

icon
Related questions
Question

C++

Declare three arrays:

A, B and C each size 3 

Read these numbers into A using for loop and cin : 1, 2, 3

Read these numbers into B using for loop and cin: -1, -2, -3

C is  A + B . this means you need to add each element of the array A to corresponding element of array B and then C is the sum.

Print the elements of array C (three elements)

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer