13.07.2015 Views

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

A Brief Introduction to Fortran 77 - Polaris

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fortran</strong> statementsWe will only discuss a few of the statements:1. GOTO statement. (e.g GO TO 150)2. IF statement.if (a.gt. 5) a = 5if (a.gt. 5) thena=5b=1end ifif (a.gt. 5) thena=5b=1elseb=2go <strong>to</strong> 17end if© 1998 David A. Padua16 of 118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!