為什么我輸出的沒有單位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""小明現(xiàn)在在慕課網(wǎng)上學習IT技術(shù)");?
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""小明現(xiàn)在在慕課網(wǎng)上學習IT技術(shù)");?
return 0;
}
2019-07-26
舉報
2019-07-26
恭喜你啦 那給我個采納吧!
2019-07-26
已經(jīng)解決了...我不小心刪了個代碼