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++IN C++ #1 Write a program which prompts the user to enter

#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

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!