Media Summary: program vertical ! ! Vertical motion under gravity ! implicit none ! acceleration due to gravity real, parameter :: g=9.8 ! In this video we are going to see what are the Quick demo of why you should always initialize
Fortran Programming Tutorial 3 Using Variables - Detailed Analysis & Overview
program vertical ! ! Vertical motion under gravity ! implicit none ! acceleration due to gravity real, parameter :: g=9.8 ! In this video we are going to see what are the Quick demo of why you should always initialize program swapmain implicit none real :: a, b ! Read in two values read(*,*) a, b call swap(a,b) write(*,*) a,b contains subroutine ... program arithmetic implicit none ! Define real and integer program main implicit none call show('FRED') call show('USER') call show('USERNAME') contains subroutine show(name) ...