怎么运行错误呢?
#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("%s","小明现在在慕课网上学习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("%s","小明现在在慕课网上学习IT技术");
return 0;
}
就是这样,运行失败
2018-05-04
举报