Question: Please code in C++: Start with a list of int values. Use two normal (not reverse) iterators, one moving forward through the list and one

Please code in C++: Start with a list of int values. Use two normal (not reverse) iterators, one moving forward through the list and one moving backward, in a while loop, to reverse the contents of the list. You can use swap algorithm to save a few statements. (Make sure your solution works for both even and odd numbers of items.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
