Fortran

Fortran, WTF? My great-grandparents used that language! Why should I care?

Overview

Versions

Links

Getting Started

We'll assume you have gfortran, the most current Fortran compiler for gcc.

Hello

Tradition!

hello.f95
! Writes "Hello, World" to standard output.

program hello
    write (*, '(A12)') 'Hello, World'
end

Fibonacci Numbers

Another classic: