Question: Integer numPeople is read from input as the number of elements in the vector that follows. Then, numPeople elements are read from input into the
Integer numPeople is read from input as the number of elements in the vector that follows. Then, numPeople elements are read from input into the vector walkingNumbers. Use a loop to access each element in the vector and if the element does not equal output the element followed by a newline.Ex: If the input isthen the output is: C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
