• RECAP
     Help
  • I start at 1 and go up to 10, checking if each number is even or odd. If it's even, I say "This is an even number!" and if it's odd, I say "This is an odd number!". What type of loop am I?
    For loop
  • I start at 1 and double my number each time. After each doubling, I check if the number is greater than or equal to 20. I stop when it meets the condition. What type of loop am I?
    While loop
  • You’re planning a picnic, and you need to decide if you should bring an umbrella based on the weather. If the weather is rainy, you should bring an umbrella. If the weather is sunny, you don’t need to bring an umbrella.
    if.. else condition(Decision making)
  • Unlock this slideshow and over 4 million more with Baamboozle+
    Try slideshows
  • Your experience on this site will be improved by allowing cookies.