运行成功,输出错误,检查是否有身高1.850000m
#include <stdio.h>
int main(){
int age = 18;
float height = 1.85;
char unit = 'm';
printf("小明今年%d岁\n", age);
printf("小明身高%f %c\n", height, unit);
printf("小明现在在慕课网上学习IT技术");
return 0;
}
#include <stdio.h>
int main(){
int age = 18;
float height = 1.85;
char unit = 'm';
printf("小明今年%d岁\n", age);
printf("小明身高%f %c\n", height, unit);
printf("小明现在在慕课网上学习IT技术");
return 0;
}
2018-07-17
https://www.imooc.com/code/5119这是我做的仅供参考
举报