为什么我输出的没有单位m?
#include <stdio.h>
int main(){
int age = 18;
float height = 1.85;
char unit = 'm';
printf("小明今年%d岁\n", age);
printf("%c""小明身高%f \n", height);
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("%c""小明身高%f \n", height);
printf("%s""小明现在在慕课网上学习IT技术");
return 0;
}
2019-07-26
举报