if
1 + 1 == 3 ? "1 plus 1 equals 3!" : "1 plus 1 does not equal 3!"/* Check if 1 plus 1 equals 3. */ 1 + 1 == 3 /* If it does, display this. */ ? "1 + 1 equals 3!" /* Otherwise, display this. */ : "1 + 1 does not equal 3!"
1 + 1 == 3 ? "1 plus 1 equals 3!" : "1 plus 1 does not equal 3!"
/* Check if 1 plus 1 equals 3. */ 1 + 1 == 3 /* If it does, display this. */ ? "1 + 1 equals 3!" /* Otherwise, display this. */ : "1 + 1 does not equal 3!"