這題怎么做,我是初學(xué)者,
#include <stdio.h>
int main()
{
? ? ? ? age = 15;
? ? ? ? height = 162;
? ? ? ? weight = 82.5;
? ? ? ? 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; ? ?
}
2018-01-20
#include <stdio.h>
int main()
{
? ? int ? age = 15;
? ? int ? height = 162;
? ? double ? 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; ? ?
}