Question: Operation of vectors Create a C++ code (a) Create two arrays of 1x5 (1 row 5 columns) (b) Let the user to input the values

 Operation of vectors Create a C++ code (a) Create two arrays

Operation of vectors Create a C++ code (a) Create two arrays of 1x5 (1 row 5 columns) (b) Let the user to input the values of each element of both arrays (use a function) (c) Show a menu with 3 options sum, rest, multiplication (d) Let the user to select an option (e) Perform the operation for each element of the array Example [1,2,3,4,5]+[5,4,3,2,1]-[6,6,6,6,6,6] (f) Show the result to the user

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!