Why won't this code display correctly

// String data type
var title = “Professer”

// Int data type
var rank = 5

// Double data type
var points = 158.642

// Bool data type
var smartest = true

if (title == “Professor” && rank >= 5 && points >= 100 && smartest == true) {
print(“You smart!”)
} else {
print(“Keep learning champ!”)
}

It’s not displaying “Your smart!” for some reason and I can’t figure out why?

its because the title was not true

the if statement was this,

BUT, you declared it as this

thus, its not equal and is therefore false

Oh my, spelling error xD thank you.