F90: IF sem THEN

From AdonaiMedrado.Pro.Br
Revision as of 02:18, 3 November 2008 by Adonaimedrado (Talk | contribs) (New page: <code lang="fortran"> PROGRAM aula IMPLICIT NONE INTEGER :: i = 0 DO i=i+1 WRITE (*,*) i IF (MOD(i,15)==0) EXIT END DO END PROGRAM </code>)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
PROGRAM aula
	IMPLICIT NONE
	INTEGER :: i = 0
	DO 
		i=i+1
		WRITE (*,*) i
		IF (MOD(i,15)==0) EXIT
	END DO
END PROGRAM