Matrix to display

Hi
After a long day coding for a deadline my brain is done.

However there is one task to complete:

How do I show a matrix on the output display?

ie:

float mat1[3][3]={1,0,0,0,2,0,0,0,3};

How would I convert this matrix into a form of output where it looks like a matrix?

Any (relevant) replies are much appreciated
Come on people,

Why have you forsaken me..
You have to divide the numbers and add a decimal point. float mat1[3][3]={{1.0,0.0,0.0},{0.0,0.0,2.0},{0.0,0.0,3.0}};
Topic archived. No new replies allowed.