Skip to content

Commit dbf44db

Browse files
authored
Modify Hello World in Fortran (#5120)
Improve Hello World Fortran code snippet
1 parent b054a53 commit dbf44db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

archive/f/fortran/hello-world.f95

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
PROGRAM HELLOWORLD
2-
PRINT *, 'Hello, World!'
3-
END
1+
program helloworld
2+
implicit none
3+
print '(A)', 'Hello, World!'
4+
end program helloworld

0 commit comments

Comments
 (0)