Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

c++ plz image text in transcribed
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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students explore these related Databases questions