Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære 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.

Opgave

Swipe to start coding

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

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 5
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Opsummér dette kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 2.63

bookComparison Operators Practice

Stryg for at vise menuen

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.

Opgave

Swipe to start coding

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

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 5
single

single

some-alt