Write this code on C programming language.

  • Thread starter Thread starter Ahmet Arif
  • Start date Start date
A

Ahmet Arif

Guest
Write a function that takes two 2-d arrays of type double as parameters, where each array has its own number of rows and columns and compares them.

It should return 1 if the following are true: - Requirments

  • both arrays have the same number of rows
  • both arrays have the same number of columns
  • each element of the first array has the same value as the corresponding element of the second array.

otherwise it should return 0.

and also make, if one of the requirement is true (return 1) otherwise (return 0)


Use it in a main function which generates two 2-d arrays, and then compares them, and outputs if the arrays are the same as defined above.

You need to use ( Dynamic Programming and Dynamic Memory Allocating )

Continue reading...
 
Back
Top