part1a - WRITE(*,*) "Pi in six decimal places:"...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
PROGRAM part1a IMPLICIT NONE REAL:: pi = 3.14159265359 WRITE(*,*)"Pi in integer format:" WRITE(*,'(I1)')int(pi) WRITE(*,*)"Pi in three decimal places:" WRITE(*,'(F5.3)') pi
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: WRITE(*,*) "Pi in six decimal places:" WRITE(*,'(F8.6)') pi WRITE(*,*) "Pi in scientific notation:" WRITE(*,'(ES10.4)')pi END PROGRAM...
View Full Document

This note was uploaded on 07/22/2010 for the course MAE 112 taught by Professor Freeh during the Spring '10 term at North Country Community College.

Ask a homework question - tutors are online