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. display " a is lesser then b and c"
  8. elif ( a .GT. b ) then
  9. diaplay " a is greater then b"
  10. else
  11. display" no conclisiv"
  12. elif a==b==c then
  13. display " try again"
  14. END PROGRAM noco
  15.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.f95:7.6:

      display " a is lesser then b and c"
      1
Error: Unclassifiable statement at (1)
prog.f95:8.6:

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

      diaplay " a is greater then b"
      1
Error: Unclassifiable statement at (1)
prog.f95:11.6:

      display" no conclisiv"
      1
Error: Unclassifiable statement at (1)
prog.f95:12.6:

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

      display " try again"
      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