卧虎藏龙已认证4171111
2016-10-11 15:25
#include <stdio.h>
int main()
{
int age = 15;
int height = 162;
float weight = 82.5;
char isfat = 'y';
printf("年龄:15 岁\n", age);
printf("身高:162 CM\n", height);
rintf("体重:82.5 KG\n", weight);
printf("是否属于肥胖儿童:y\n", isfat); /*%d,%f,%c此类符号在后面会有讲解*/
return 0;
}
#include <stdio.h> int main() { int age = 15; int height = 162; float weight = 82.5; char isfat = ‘y'; printf("年龄:%d 岁\n", age); printf("身高:%d CM\n", height); printf("体重:%f KG\n", weight); printf("是否属于肥胖儿童:%c\n", isfat); /*%d,%f,%c此类符号在后面会有讲解*/ return 0; }
你可能完全忽视了这章的知识要点...
#include <stdio.h>
int main()
{
int age = 15;
int height = 162;
float weight = 82.5;
char isfat = 'y';
printf("年龄:%d 岁\n", age);
printf("身高:%d CM\n", height);
printf("体重:%f KG\n", weight);
printf("是否属于肥胖儿童:%c\n", isfat);
/*%d,%f,%c此类符号在后面会有讲解*/
return 0;
}
年龄:%d岁\n
C语言入门
926206 学习 · 20797 问题
相似问题
回答 3
回答 5
回答 3
回答 1
回答 5