Queen Bess's Lair!
This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.
This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.This example introduces you to the IF statement. Now we can decide what to do if a condition is true. This program asks the user if s/he likes sports. If the answer is "yes," the program responds "I like sports, too." If the answer is "no," the program responds "I hate sports, too." It's a bit wishy-washy, but a nice, short introduction nonetheless.
LINKS SECTION