为什么printf里面数量不需要修改
#include <stdio.h>
int main(){
int age = 18;
double height = 1.850000;
char unit = 'm';
printf("小明今年%d岁",age);
printf("小明身高%f%c\n",height,unit);
printf("小明现在在慕课网上学习IT技术");
return 0;
}
#include <stdio.h>
int main(){
int age = 18;
double height = 1.850000;
char unit = 'm';
printf("小明今年%d岁",age);
printf("小明身高%f%c\n",height,unit);
printf("小明现在在慕课网上学习IT技术");
return 0;
}
2017-03-25
举报