I want to create a program that says "Hello World" in Fortran programming language.
How should I go about this task?
I want to create a program that says "Hello World" in Fortran programming language.
How should I go about this task?
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
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)