swift operation
生活随笔
收集整理的这篇文章主要介绍了
swift operation
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
var A = 10
var B = 20
print(“A+B is (A+B)” )
print(“A-B is (A-B)”)
print(“AB is (AB)”)
print(“B/A is (B/A)”)
A+=1
print(“A+=1 afterwards (A)”)
B-=1
print(“B-=1 afterwards (B)”)
总结
以上是生活随笔为你收集整理的swift operation的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: SWIFT SET
- 下一篇: apple MacBook air m1