OK guys, this is funny....
I have nested DO LOOP:
PROGRAM RBX
IMPLICIT REAL*8 (A-H,O-Z) !variables that start with letter a,b,c,d,e,f,g,h,o,p,q,r,t,s,... are doubles
DO 1 I=1,5,1
DO 2 J=1,10,1
Z(I,J)=(some very complicated mathematics)
WRITE(*,*) Z(I,J)
2 CONTINUE
1 CONTINUE
END PROGRAM...
Hello,
I am new to fortran. I have a task to do.
I have code for making grid of positions (X and Y coordinates) with two DO loops:
PROGRAM Dot_Coordinates
IMPLICIT NONE
INTEGER :: IMAX,IMIN,JMAX,JMIN, NN, MM, I, J, K, A1, M
INTEGER, DIMENSION (500) :: XX,YY...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.