iOS Swift Basics Swift Operators Working With Operators: Part 2

Morgan Norelius
Morgan Norelius
585 Points

I don't understand the second question at all. Please Help!

how to write out what is effectively an "IF Then" statement ???

// Enter your code below

var initialScore = 8
initialScore += 1

1 Answer

Gavin Butler
Gavin Butler
iOS Development with Swift Techdegree Graduate 15,489 Points

Hi Morgan. It might help to have a look at the ternary conditional operator and start your code with: let isWinner = Hope this helps....