       WRITE (6,10)
   10  FORMAT (1X, ' PLEASE ENTER A 3 DIGIT NUMBER')
       READ (5,8) NUMBER1
    8  FORMAT (I5)
       WRITE (6,11) NUMBER1
   11  FORMAT (1X, ' THE NUMBER YOU ENTERED IS ', I3 )
       WRITE (6,10)
       READ (5,8) NUMBER2
       WRITE (6,11) NUMBER2
       IF (NUMBER1 .GT. NUMBER2) WRITE (6,27) NUMBER1
       IF (NUMBER2 .GT. NUMBER1) WRITE (6, 27) NUMBER2
       IF (NUMBER1 .EQ. NUMBER2) WRITE (6,28) NUMBER1, NUMBER2
   28  FORMAT (1X, I4, ' AND ' , I4, ' ARE EQUAL')
   27  FORMAT (1X, ' THE BIGGER NUMBER IS ', I3)
       IF (NUMBER1) 101, 102, 103
  101  WRITE (6,105) NUMBER1
       GO TO 120
  102  WRITE (6, 106) NUMBER1
       GOTO 120
  106  FORMAT (1X, I5, ' IS NEITHER POSITIVE NOR NEGATIVE ')
  103  WRITE (6,107) NUMBER1
  107  FORMAT (1X, I5, ' IS A POSITIVE NUMBER ')
  105  FORMAT (1X, I5, ' IS A NEGATIVE NUMBER ')
  120  WRITE (6,198)
  198  FORMAT(' PROGRAM IS DONE, PLEASE CLOSE DOS WINDOW')
       STOP
       END
