Skip to content

Commit

Permalink
Add fortan hello world (#34) (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Gaist authored and DaylightFox committed Oct 7, 2018
1 parent 16b00c4 commit f48c211
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fortran/hello_world.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
! Simple Hello World

program hello_world
print *, "Hello World!"
end program hello_world
7 changes: 7 additions & 0 deletions fortran/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To compile the application:

$ f95 -o hello_world hello_world.f90

To run the application:

$ ./hello_world

0 comments on commit f48c211

Please sign in to comment.