Next: Basic Data Types in
Up: CS101 Lecture 8
Previous: Variables
Variables can be of any type (later).
- Use ``IMPLICIT NONE''
- This will force you to declare all vars before use!
- Declarations come first in the program!
Program Vardemo
Implicit none ! **must in all cs101 programs**
! declare all vars first
Integer :: Max, Min
Real :: Radius
...
! then write the code..
G. Sivakumar
2000-08-16