needing help on how to call a function in the main domain area.
Construct a grid 4 x 4:
Using only numbers from 1 to 16 (inclusive), fill the table such that:
• No number can be used twice
• The sum of each row is 34
• The sum of each column is 34
Use a random number generator to obtain numbers between 1 and 15.
Use modular decomposition to separate the calculation tasks into functions.
Use #define to create constants such as SIZE and ROWTOTAL.
The grid should be a 2 dimensional array which is passed by reference into functions.
i have done the function for random number generator, total sum, and also a chek function to see if the number has already been displayed in the grid or not.
But what i cant figure out is how i can relate these functions back to the main domain into the array.
plz help. thnx in advance