Control Flow
Goals
- Learn what the conditional operators are
- Learn what
if,else, andelse ifstatements are - Learn what logical operators are
- Learn what a
switchstatement is - Learn about
forloops - Learn about
whileloops
Tasks
- Create a program where the user can input a number grade, and then the program will print the letter grade corresponding with it
- Create a program where the user can input a number, and then the program print out all numbers leading up to that number.
- For instance, if the variable is 5, print "1 2 3 4 5"