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

6 lines
125 B
Swift
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
func logic(a: Bool, b: Bool) {
println("a AND b: \(a && b)");
println("a OR b: \(a || b)");
println("NOT a: \(!a)");
}