π΅
πΆ
π€
β¨
π
Stage & Music Universe
Spotlight Chief
You're the Spotlight Chief! Read the crowd's noise level with COMPARISONS β is it GREATER THAN 70? LESS THAN 30? EXACTLY 50? Then decide the show: PARTY, HUSH, SLOW SONG, or STAR PERFORMANCE! Every computer compares numbers to make decisions β now YOU run the show!
β‘ Today's Concept: Comparison Operators ( > < = )
A comparison asks a TRUE/FALSE question about two numbers: is 80 > 70? (YES!) Is 15 < 30? (YES!) Is 50 = 50? (YES!) Computers use comparisons all the time β games check your score, apps check your age, websites check your password length. You already learned IF/ELSE decisions β now power them with real number checks!
> GREATER THAN β bigger number wins
< LESS THAN β smaller number wins
= EQUAL TO β exactly the same!
β Last time you programmed IF/ELSE decisions (Coral Guard). Now you'll feed those decisions with COMPARISONS β the > < = checks computers make every single day!