What are the resuhlts from the following brief program:

     DIMENSION IA(5)

DO 10 I=5,1,-1

10 IA(I)=5-I

WRITE(6,2000)(IA(I),I=1,5)

2000 FORMAT ('IA=',(3I5))

END


IA=    4    3    2

1 0

IA= 4 3 2 1 0

IA= 1 2 3 4 5

IA=

4 3 2

1 0

IA= 4 3 2

1 0


Back to the 201 Homepage or Next Question