replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Format problem
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Format problem

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
1so35



Joined: 28 Mar 2011
Posts: 3

PostPosted: Sun May 08, 2011 2:03 pm    Post subject: Format problem Reply with quote

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


this matrix in this format.Thanx in advanced.
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Sun May 08, 2011 6:19 pm    Post subject: Re: Format problem Reply with quote

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)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group