Activity: String Comparisons

DEMO #1: In this interactive activity, learn how your program compares strings to see if they're the same or different!

We use the symbol == to see if two strings are the same.

  • User input is stored as a string exactly as the user enters it.
  • Click Run to practice.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support