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

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:

主站蜘蛛池模板: 岑巩县| 古蔺县| 乐山市| 遵化市| 读书| 循化| 德江县| 章丘市| 华蓥市| 芮城县| 西平县| 石家庄市| 凯里市| 嵊泗县| 绥江县| 淳化县| 章丘市| 桐梓县| 贵德县| 嫩江县| 长沙县| 武安市| 怀仁县| 根河市| 兰溪市| 汝州市| 潮州市| 甘洛县| 莎车县| 高阳县| 贞丰县| 安乡县| 肇东市| 高陵县| 邮箱| 积石山| 南乐县| 宜川县| 洛阳市| 辛集市| 聂荣县|