Write a C++ program of the following, and be sure to useproper formatting and appropriate comments in your code
  1. Write a program that allows the user to type in the first namesof 10 people, and then prints out these names in the reverse of theinput order. (The name that is entered first would be output last,and vice versa.) You MUST store the names in an array.