Write a C++ program that reverses the elements of an array sothat the last eleme
ID: 3613436 • Letter: W
Question
Write a C++ program that reverses the elements of an array sothat the last element becomes the first; the second from lastbecomes the second, and so forth. The function is to reverse theelements in place - that is, without using another array. (It ispermissible to use a variable to hold an element temporarily.)
The program should then thank the user and pause the screen sothe has ample time to see the output on the screen. Note: Theprogram must include ample documentations to explain itspurpose.