高手幫忙看看哪里不對
#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;
}
2017-03-29
舉報
2017-06-18
int main()后面的{}要重新空一排
2017-03-29
printf("小明今年18歲%d\n", age);
printf("小明身高1.850000m%f\n", height, unit);