官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 皮山县| 吉安县| 新干县| 彭州市| 信阳市| 前郭尔| 沁阳市| 吴桥县| 连州市| 巢湖市| 苗栗县| 荣成市| 道真| 荣成市| 江安县| 博野县| 邵阳县| 裕民县| 横峰县| 鄯善县| 仪征市| 广汉市| 台北县| 勐海县| 门源| 麻城市| 壤塘县| 光泽县| 多伦县| 安顺市| 三都| 信阳市| 玉林市| 永善县| 青田县| 连城县| 通河县| 扬中市| 永泰县| 滦南县| 彭阳县|