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

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:

主站蜘蛛池模板: 长乐市| 汽车| 平邑县| 中山市| 保靖县| 文安县| 屯门区| 乳山市| 仙桃市| 墨玉县| 肇东市| 池州市| 广饶县| 黎平县| 洛浦县| 高陵县| 临猗县| 文登市| 古交市| 筠连县| 海原县| 汾西县| 化德县| 湖州市| 台州市| 平谷区| 格尔木市| 庄浪县| 鹤壁市| 西青区| 成都市| 淮滨县| 衢州市| 靖远县| 微博| 平阴县| 东乡族自治县| 宁陕县| 阿鲁科尔沁旗| 壶关县| 怀宁县|