- iOS 12 Programming for Beginners
- Craig Clayton
- 65字
- 2021-07-02 15:04:51
Creating a variable with an integer (int)
Now, let's create a variable with an int called age and set it to our age (or whatever you want your age to be) by adding the following:
var age = 40
Our program now knows that age is an int. You should see both your name and age in the Results Panel, just like you did previously:

推薦閱讀
- EJB 3.1從入門到精通
- Cisco OSPF命令與配置手冊
- 物聯網智慧安監技術
- 異構基因共表達網絡的分析方法
- TCP/IP入門經典(第5版)
- Spring Cloud微服務架構進階
- 面向云平臺的物聯網多源異構信息融合方法
- NB-IoT物聯網技術解析與案例詳解
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 中小型局域網組建、管理與維護實戰
- 6G無線網絡空口關鍵技術
- Guide to NoSQL with Azure Cosmos DB
- 數字王國里的虛擬人:技術、商業與法律解讀
- 物聯網,So Easy!
- 物聯網與智慧廣電