這個代碼有問題,求解答
#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("小明現(xiàn)在在慕課網(wǎng)上學習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("小明現(xiàn)在在慕課網(wǎng)上學習IT技術");?
return 0;
}
2016-01-29
舉報
2016-01-29
#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("小明現(xiàn)在在慕課網(wǎng)上學習IT技術");?
????return 0;
}
2016-01-29
在c軟件中運行不出來呢?
2016-01-29
沒看到有什么問題啊??1.850000嗎?