I need to write a some C functions for a program.
A function that initializes a matrix with numbers 1.0, 2.0, .... nXn.
A function that prints the sums of each row
A function that prints the values on the diagonal. Only allowed a single loop
and a function that returns the minimum element of the matrix.
I have no idea what i am doing because the prof is awful and this is my second time in the class.
even just the init_mat function would be a big help!
>>46233
c89?
>>46233
Just fire in, and if you have a specific problem, ask here.
There's not much point in asking "how do I do <entire homework exercise>", because you'll just be back next week.
>>46233
Diagonal
http://pastebin.com/jE9Eq9ax