Hellow world in fortran code example
Example 1: fortran hello world
program helloworld
print * , "Hello World!"
end program helloworld
Example 2: fortran hello world
Program hello
implicit none
character(11) :: WORD
word="hello world"
write(*,*) word
end program hello