fork download
  1. program TEST
  2. integer ans
  3. do
  4. read (*,*) ans
  5. if (ans.eq.42) stop
  6. write (*,*) ans
  7. enddo
  8. stop
  9. end
Success #stdin #stdout 0.01s 5284KB
stdin
1
2
10
42
11
stdout
           1
           2
          10