Question

18. Create a vector (name it vtA) that has 10 elements of which the first is 8, the increment is 7, and the last element is 71. Then, assign elements of

vtA to a new vector (call it vt B) such that vtB has 7 elements. The first 4 elements are the first 4 elements of the vector vtA, and the last 3 are the last 3 elements of the vector vtA. Do not type the elements of vtA vector explicitly.

Question image 1