Category : Files from Magazines
Archive   : PCTJ0687.ZIP
Filename : ITERATE.F77

 
Output of file : ITERATE.F77 contained in archive : PCTJ0687.ZIP
C ITERATIVE FORTRAN SOURCE CODE
C
INTEGER I, J
REAL A0, B0, C0, D0
REAL A1, B1, C1, D1
C
DATA A0/1.0/, B0/2.0/, C0/3.0/, D0/4.0/
C
DO 10 I=1,1000
DO 10 J=1,1000
A1 = C0 - B0
B1 = D0 / B0
C1 = A0 + B0
D1 = B0 * B0
A0 = C1 - B1
B0 = D1 / B1
C0 = A1 + B1
D0 = B1 * B1
10 CONTINUE
C
WRITE(*,1000) A1, B1, C1, D1
1000 FORMAT(4F10.1)
END


  3 Responses to “Category : Files from Magazines
Archive   : PCTJ0687.ZIP
Filename : ITERATE.F77

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/