Lessons
Fortran · Introductory
Fortran · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Hello Fortran
program blocks, print *, comments with !, and compiling with gfortran.

Lesson 2
Variables and implicit none
Declaring integer, real, logical, character; implicit none and why it matters.

Lesson 3
Arithmetic and intrinsics
Integer vs real division, ** power, mixed-mode, and intrinsic math functions.

Lesson 4
if and select case
if/else if/else blocks, relational operators, and select case ranges.

Lesson 5
do loops
Counted do loops with steps, do while, exit and cycle.

Lesson 6
Arrays
Declaring arrays, 1-based indexing, constructors, and whole-array operations.

Lesson 7
Functions and subroutines
function results, subroutine with call, contains, and intent arguments.

Lesson 8
Character strings
Fixed-length strings, trim, // concatenation, len, and substrings.

Lesson 9
Formatted output
Format descriptors i, f, es, a, x, repeat counts, and write(*, fmt).

Lesson 10
Modules
module, use, contains, sharing data and procedures between files.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.