sky178kCr
2015-12-17 18:30
#include <stdio.h>
int main(){
int age = 18;
float height = 1.85;
char unit = 'm';
printf("小明今年?岁\n", age);
printf("小明身高??\n", height, unit);
printf("小明现在在慕课网上学习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("小明现在在慕课网上学习IT技术");
return 0;
}
楼上正解
printf("小明今年%d岁\n", age);
printf("小明身高%f %c\n", height, unit);
#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("小明现在在慕课网上学习IT技术");
return 0;
}
C语言入门
926206 学习 · 20797 问题
相似问题