The Concept T his example introduces you to the IF statement. Now we can decide what to do if a condition is true. It's a bit wishy-washy, but a nice, short introduction nonetheless. The IF statement is followed by a condition and what to do if it is true.
TRUE can be one statement or many statements.
That empty space will be filled with what the user enters into the prompt box. That'll make a little more sense in a minute. A prompt is set up as the variable answer . We now have two variables named the same. Keep that in mind.