Programming Fundamentals/Introduction/Fortran

From Wikiversity
Jump to navigation Jump to search

hello.f90

[edit | edit source]
! This program displays "Hello world!"
!
! References:
!     https://en.wikibooks.org/wiki/Fortran/Hello_world

program hello
    print *, "Hello World!"
end program

Try It

[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own Fortran compiler / interpreter / IDE.

See Also

[edit | edit source]