fork download
  1. PROGRAM noco
  2. a = 20
  3. b = 30
  4. c = 50
  5. if (a .LT. b) then
  6. if (a .LT. c) then
  7. PRINT*," a is lesser then b and c"
  8. elif ( a .GT. b ) then
  9. PRINT*," a is greater then b"
  10. else
  11. PRINT*," no conclisiv"
  12. elif a==b==c then
  13. PRINT*," try again"
  14. END PROGRAM noco
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.f95:8.6:

      elif ( a .GT. b ) then 
      1
Error: Unclassifiable statement at (1)
prog.f95:12.6:

      elif a==b==c then
      1
Error: Unclassifiable statement at (1)
prog.f95:14.9:

      END PROGRAM noco
         1
Error: Expecting END IF statement at (1)
Error: Unexpected end of file in 'prog.f95'
stdout
Standard output is empty