December 23, 2018
Check array symmetry
Threads: For an array of n integers. Check if the array is mirrored. Plate symmetric arrays when writing in the forward or reverse are identical results.
Input: The first line is an integer n. The second line 2 n is an integer array, of numbers separated by spaces.
Output: If the array symmetry print “TRUE”, if not printed “FALSE”.
For example:
input: 4 1 3 3 1 output: TRUE
You are not logged in? Log in to Submit Now!
4 Comments
Add a Comment
You must be logged in to post a comment.
Looks like there is no next button to go to a new post, admin, if so, it would be more convenient to continue between songs.
Ah this is not available yet
#include
#include
#define MAX 100
/* block code */
where am i wrong
Please read the instructions for the previous lesson. don't use conio.h and getch.