how can i write a program to calculate the median of matrix in file1 , and send the output to file2 .....????
can anyone help me please??!
sarah u gotto show some effort of your own .
Please give it a shot and later if you having problems u can post it in here , that would embolden people to help you .
1. U have a file with matrix data in it
2. u must have a function to retrive data from a file and store it in matrix format
3. Calculate the median using the formula , (i guess it shouldnt be a trouble finading the formula)
4.the result matrix u found , store it in another file
for simplicity purpose i would suggest you to first accept the matrix at run time , calculate the median and then print thr result , later on u can enhance it by introducing file reading ..