problem displaying result

Posted 20 March 2013 - 06:18 PM

hi,
I have a problem with this program
normally,i should have something after treatement like that
4 -0.25 0.25
-0.25 4 0.75
0.25 0.75 1
but the program show
4.00 -0.25 0.25
-0.25 4.25 0.65
0.25 0.65 3.5
I don't konw where is the mistake />
Any help please

Replies To: problem displaying result

Re: problem displaying result

Posted 20 March 2013 - 07:17 PM

Please post the whole program, not just a snippet.

You also should adopt more descriptive variable names, and an indentation style--this code is incomplete and largely unreadable / unintelligible to anyone other than yourself, so providing feedback is a challenge.