Skip to main content

1.3) Writing Your First Fortran 95 Code


In your Unix terminal, I would like you to type emacs ex1.f95 and within emacs write out the code in Example 1. Please also refer to the video in which I show how to do it and point out a few things to know about making your first program.

1      program example1
2      ! comments can go here like version and other info
3      print *, 'This is my first code running'
4      end program example1

Example of writing your first program in emacs.