RosettaCodeData/Task/Logical-operations/Swift/logical-operations.swift

6 lines
125 B
Swift
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
func logic(a: Bool, b: Bool) {
println("a AND b: \(a && b)");
println("a OR b: \(a || b)");
println("NOT a: \(!a)");
}