001. Hello World#

topic: Basics

Hello World in Fortran is

hello-world.f90 | | Godbolt Compiler Explorer logo | Fortran logo#
print *, "Hello, World!"
end
Output1#
 Hello, World!

(Every Fortran program must have an end statement.)



1

Compiled using GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 with no flags