Program C++ :
Write a program in c++ that ask the user to type 10 integers of an array and two integers values indexl and index2 between 0 and 9, the program must swap between the values of these indexes.
Be sure that the values of indexes are correct, otherwise a massage" the index is not correct" is show.
The program must write the array before and after swapping?