Question: IN C++ #1 Write a program which prompts the user to enter data into a vector of integers and assigns to another vector of integers
IN C++
#1 Write a program which prompts the user to enter data into a vector of integers and assigns to another vector of integers the values of the first vector (modified by multiplying by 8 and incremented by 100) BUT IN REVERSE ORDER. Example: We enter into the first vector the values: 3 8 2 9 11 5 40 100 203 49 Then the second vector has the values: (49*8 +100) (203*8 +100) (100*8 +100) (40*8 +100) (5*8 +100) (11*8 +100) (9*8 +100) (2*8 +100) (8*8 +100) (3*8 +100) Test program with the above data. NOTE: The program should work for any size vectors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
