Si sinon si et sinon les instructions en langue rapide

var action: String
var person = "hater"

if person == "hater" {
    action = "hate"
} else if person == "player" {
    action = "play"
} else {
    action = "cruise"
}
MUHAMMAD ZEESHAN