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

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:

主站蜘蛛池模板: 夹江县| 肃宁县| 安阳县| 巴东县| 襄城县| 肃北| 神农架林区| 高邮市| 康定县| 凌海市| 奎屯市| 三门县| 彰武县| 宝清县| 顺昌县| 宣威市| 隆林| 禹城市| 都江堰市| 河东区| 获嘉县| 利津县| 高唐县| 哈尔滨市| 罗源县| 泰安市| 永泰县| 巨鹿县| 南涧| 侯马市| 视频| 泸水县| 普宁市| 遂川县| 于都县| 依安县| 青海省| 南江县| 湖北省| 丁青县| 普洱|