Question: Integer numElements is read from input. Given the integer vector hourlyMiles with the size of numElements, write a for loop to output all the integers
Integer numElements is read from input. Given the integer vector hourlyMiles with the size of numElements, write a for loop to output all the integers in hourlyMiles in reverse order. Separate the integers with a comma followed by a space (", "). ex is input us
8
64 70 73 90 107 116 129 148
then the output is
148, 129, 116, 107, 90, 73, 70, 64
c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
