tags:

views:

107

answers:

5

I want to create a program that says "Hello World" in Fortran programming language.

How should I go about this task?

A: 

Fortran/Hello world

 program hello
         print *,"Hello World!"
      end program hello
Leniel Macaferi
+1  A: 
program hello
         print *,"Hello World!"
end program hello
Matt
+2  A: 

The first idea that came to mind was "RTFM". But, apart from that and to add to other answers; you don't need the PROGRAM part nor the name of the program. Just

print *,'Hello world';end
ldigas
+2  A: 

Bah!

Fortran IV or give me death I say!

C     PROGRAM HELLO3
      WRITE (6,100)
      STOP
  100 FORMAT (11HHELLO WORLD)
      END

(Shamelessly lifted from Wikipedia)

Will Hartung
A: 

print*, "Hello World!"; end

rusi.pathan