Skip to main content
Print a word without its vowels using continue, then print it again and stop early at a chosen letter using break. Open Lab 12 in the IP Lab Portal

What you will practice

  • Loop over the characters of a string
  • Skip items with continue
  • Exit early with break

Before you start

Time

15 minutes

Where

IP Lab Portal

Module

Module 5: Loops

  • In the IP Lab Portal, open Lab 12 - Vowel skipper.
  • In class, this lab comes right after the Lesson 6 recap slide in Module 5 core material.