let myPoint = (1, -1) switch myPoint { case let (x, y) where x == y: print("(\(x), \(y)) is on the line x == y") case let (x, y) where x == -y: print("(\(x), \(y)) is on the line x == -y") case let (x, y): print("(\(x), \(y)) is just some arbitrary point") } In this program what does \x and \y do or mean exactly . Pls reply fast i really am confused Thank you so much
7/14/2019 2:42:35 PM
Svojas Pitale1 Answer
New AnswerSololearn Inc.
535 Mission Street, Suite 1591Send us a message