Before you begin this lesson, you should read sections 7.4--7.6 of the text.
At this point, we've covered most of the more difficult aspects of Fortran. From this point we will begin to build upon the base that you've built up. As you learn a few more features, you'll also have an opportunity to practice what you already know.
In this lesson we return to finish up chapter 7. Chapter 7 is where you got your first introduction to IF statements. In this lesson we will look at a slightly different version of the IF statement, and look in a bit more detail at logical expressions. Logical expressions are expressions whose values are true or false. They can be used to control an IF statement.
You'll need to copy some files before you begin.
Hamlet Project