Write a program that reads 10 integers and stores them in an array. Then, the program should check if the array is symmetric, that is, if the value of the first element is equal to the last one, the value of the second one equal to the value of the last but one, and so on. If it's symmetric, print "Yes", else print "No"
Sample Input 1:
1 2 3 4 5 5 4 3 2 1
Sample Output 1:
Yes
Sample Input 2:
1 2 3 4 5 5 5 5 2 1
Sample Output 2:
No
References: C From Theory