FORTRAN_Assignment_Guide
FORTRAN_Assignment_Guide
This document provides step-by-step instructions on how to install GFortran, write, compile,
and run FORTRAN programs for the CSC 280.1 assignment.
1. Installing GFortran
GFortran can be installed based on your operating system:
For Windows:
1. Download MinGW-w64 from https://www.mingw-w64.org/downloads/
2. Install it and ensure Fortran is selected.
3. Add C:\mingw-w64\bin to your system's Environment Variables.
For Mac:
1. Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. Install GFortran with:
brew install gcc
B. Loops
D. Arrays
E. Arithmetic/Assignment Statements
F. Subroutines