# Fortran: Lesson 2

#### Lesson topics

##### View Demos
# 1 # 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 # 10
# 1 # 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 # 10

#### Demo 5

								c       Here we demonstrate the "if - then - else if" construction.
c       The last "else if" has been replaced with "else". This allows
c       you to cover all remaining cases without listing them.
program sign
real x
print *, "What is your number ?"