Swift Guard vs IF Declaración
func voteEligibility() {
var age = 42
if age >= 18 {
print("Eligible to vote")
}
else {
print("Not eligible to vote")
}
}
voteEligibility()
SAMER SAEID