怎么输入不对啊#include
int main(){ int age = 18; float height = 1.85; char unit = 'm'; printf("age = 18:%d", age); printf("height = 1.85:%f"height,unit=m:%c, unit); printf("小明现在在慕课网上学习IT技术"); return 0; } 谁指导一下#include后面漏了头文件名<stdio.h>
没输标准输入输出库<stdio.h>
#include <stdio.h>
int main()
{ int age = 18;
float height = 1.85;
char unit = 'm';
printf("age = %d", age);
printf("height = %f",height);
printf("unit=m:%c", unit);
printf("小明现在在慕课网上学习IT技术");
return 0;
}
printf("小明今年%d岁\n",age)
print("小明身高%f%c\n",height,nuit)
print("小明现在在慕课网上学习IT技术”)
#include <stdio.h>
int main()
{
int age = 18;
float = 1.85;
char unit='m';
printf("age = %d:", age);
printf("height = %f%c:" height, unit);
printf("小明现在在慕课网上学习IT技术");
return 0; }
}
#include<stdio.h>
int main()
{ int age = 18; float height = 1.85; char unit = 'm';
printf("age = 18:%d", age);
printf("height = %f,unit=%c",height, unit);
printf("小明现在在慕课网上学习IT技术");
return 0; }