n*m matrix n<=10 m<=10
There's all sorts of standard C running around to do such a thing. Better yet, why don't you write some (or if, by some strange chance this is not an assignment of some kind, google it yourself)?