Question: c++ plz 1. Write a program to request the user enter an integer. Then create a vector with that number of elements between 1 and
1. Write a program to request the user enter an integer. Then create a vector with that number of elements between 1 and 100 randomly. Then create another vector containing only the elements of the first vector which are not multiples of 3, and display the elements in both vectors to the screen. For example: A Microsoft Visual Studio Debug Console how many numbers do you want: 10 The elements in vector01 are: 1 8 51 53 80 75 14 73 11 84 The elements in vector are: 1 8 53 89 14 73 11 :\Users\Meiling\source epos\2020Springtestelvector\Debug\2020Springtest@lved To automatically close the console when debugging stops, enable Tools->Option le when debugging stops. Press any key to close this window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
