Question: 1. Write a program to request the user enter an integer. Then create a vector with that number of elements whose values are evenly spaced

 1. Write a program to request the user enter an integer.

1. Write a program to request the user enter an integer. Then create a vector with that number of elements whose values are evenly spaced between 1 and 100. Then create another vector containing every third element of the first vector, and display the elements in this final vector to the screen. For example: Microsoft Visual Studio Debug Console Enter number of points: 20.8 46.6 60.4 80.2 100 :\Users\kmcfall\OneDrive Kennesaw State UniversitylCourses Taug ht\Intermediate programming for mechatronics\2018Fal1\Tests\Teste1 Probleme1\Debug\Probleme1.exe (process 2736) exited with code e. Press any key to close this window

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!