DEV Community

rodman864
rodman864

Posted on

1

Swift

Conditions are important because they help you check a block of code to execute if that condition is true.

if temperature < 70 || isRaining { print ("Air conditioning off")} else { print("Air conditioning on")}

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →