STEP 6: Time to add our first if statement! Make sure to test your if-statement by running your program multiple times.
- In LOGIC, click on and drag out if. Drop it at the bottom of your program.
- Change the test variable in the if statement from choice to rand_answer.
- Change the test value in the if statement from "yes" to 1.
- Go to and drag Say out into your if statement. Change the variable name in front to tim.