#include <stdio.h>int main(){ age = 15; height = 162; weight = 82.5; isfat = 'y'; printf("年龄:%d 岁\n", int age = 15); printf("身高:%d CM\n", int height =162); printf("体重:%f KG\n",float weight =82.5); printf("是否属于肥胖儿童:%c\n",char isfat = 'y'); /*%d,%f,%c此类符号在后面会有讲解*/ return 0; }
- 3 回答
- 0 关注
- 1358 浏览
添加回答
举报
0/150
提交
取消