Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Comparison Operators Practice | Operators
C Basics

bookComparison Operators Practice

Reviewing Comparison Operators

Below is a recap of the comparison operators we've covered:

OperationSymbolUsage Example
Equality==a == b
Inequality!=a != b
Greater than>a > b
Less than<a < b
Greater than or equal to>=a >= b
Less than or equal to<=a <= b

You'll be using some of these operators in the upcoming task.

Tehtävä

Swipe to start coding

Insert the appropriate inequality symbol (either < or >) so the expression evaluates to 1.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

Awesome!

Completion rate improved to 2.63

bookComparison Operators Practice

Pyyhkäise näyttääksesi valikon

Reviewing Comparison Operators

Below is a recap of the comparison operators we've covered:

OperationSymbolUsage Example
Equality==a == b
Inequality!=a != b
Greater than>a > b
Less than<a < b
Greater than or equal to>=a >= b
Less than or equal to<=a <= b

You'll be using some of these operators in the upcoming task.

Tehtävä

Swipe to start coding

Insert the appropriate inequality symbol (either < or >) so the expression evaluates to 1.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

close

Awesome!

Completion rate improved to 2.63
Osio 3. Luku 5
single

single

some-alt