If / Else
Two branches.
💡 THINK OF IT LIKE…
▸ YOUR TURN
Write: if (x > 0) { printf("pos"); } else { printf("neg"); }
Tab indent · Shift+Tab outdent · ⌘/Ctrl + Enter submit · auto-pairs ( [ { " '
Two branches.
Write: if (x > 0) { printf("pos"); } else { printf("neg"); }