Owlflies
0
Q:

if statement swfit

// if expression {
// 	do something
// }

var a: Int = 3
if a == 3 {
	print("Hello World")
} else if a < 3 {
	print("dlroW olleH")
} else {
	print("42")
}
3

New to Communities?

Join the community