yes.
Construct a block of code that changes the first element of
vec
to a 6, multiplies the third element of vec
by 2, and increments the last element of vec
by 1 (in that order). This should work no matter what vec
is.