davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Sun May 08, 2011 6:19 pm Post subject: Re: Format problem |
|
|
1so35 wrote: | hey guys i have problem printing the matrix in a formatted version.
can anyone help how can i write :
1 8 9
4 6 5
1 2 3
|
Try.
Code: |
write(*,'(3i0:/)') ((a(i,j), j=1,3), i=1,3)
|
|
|