Write a program to compare two arrays (element by element)

Description:

Write a program to compare two arrays (element by element)

Take equal size arrays
– Arrays shall have unique values stored in random order
– Array elements shall be entered by user
– Arrays are compared “EQUAL” if there is one to one
mapping of array elements value
– Print final result “EQUAL” or “NOT EQUAL”
Example of Equal Arrays :
– A[3] = {2, -50, 17}
– B[3] = {17, 2, -50}

Example of Not Equal Arrays :
– A[3] = {2, 50, 17}
– B[3] = {17, 2, -50}