Question: Use scanf() to read in two arrays of 10 elements in each and check whether they are equal. Two arrays are considered equal if both
Use scanf() to read in two arrays of 10 elements in each and check whether they are equal. Two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. The output should look exactly like this: Output example: Enter the elements of the first array: 2365678903 Enter the elements of the second array: 2365678903 The two arrays are equal Enter the elements of the first array: 2365678903 Enter the elements of the second array: 1365678903 The two arrays are NOT equal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
