Fortran: "Hello world!"

FORTRAN:

(Found in 1950s, latest version released: 2018)

(.F90 is the extension mostly used in modern Fortran scripts)

(Fortran is CASE INSENSITIVE)

(SAVE the below script as "hello.f90", then COMPILE using "gfortran hello.f90 -o hello", then RUN the file "hello" as "./hello")

The script:

Program Hello

    Print *, "Hello World!"

End Program

Comments