Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: Paladin2
There:
Goto There;

138 posted on 05/13/2013 9:38:16 PM PDT by Revolting cat! (Bad things are wrong! Ice cream is delicious!)
[ Post Reply | Private Reply | To 137 | View Replies ]


To: Revolting cat!
Pretty much:

DO

READ(*,*) x

y = x*x

z = x*x*x

WRITE(*,*) x, ' square = ', y, ' cube = ', z

END DO

139 posted on 05/13/2013 9:44:19 PM PDT by Paladin2
[ Post Reply | Private Reply | To 138 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson