compound assignment operator , swift basic operator , comparison operator , ternary conditional operator , simplyprogrammingIDEA.

# Swift basic operator In the last blog we start reading swift programming basic operator , we see all about operator and assignment and arithmetic operator in details. And in this blog we see some remaining operator . Compound assignment operator In compound assignment operator we use ( = ) with other operator. var a = 5 print(a) // 5 a += 2 the a += 2 is work as a = a + 2 and give the result of a + 2. print(a) // 7 a -= 4 print(a) // 3 Comparison Operators In swift there is comparison operators to compare . swift support all the standard comparison operaors. · (a == b) equal to operator · (a != b) not equal to operator · (a < b ) less than operator · (a > b) greater than operator · ( a >= b )...