Lesson 18 of 18 · +90 xp

Ternary

Inline conditional.

Explained simply

Your task

Write: var s = n > 0 ? "pos" : "neg";

ternary-cs.csharp
← Back