输出结果1.800000m哈,是在一行,怎么让它换行呢?
#include <stdio.h> int main(){ int age = 18; float a = 1.80; char h = 'm'; printf("%d\n", age); printf("%f%c", a, h); printf("%s\n","哈"); return 0; }
#include <stdio.h> int main(){ int age = 18; float a = 1.80; char h = 'm'; printf("%d\n", age); printf("%f%c", a, h); printf("%s\n","哈"); return 0; }
2015-10-13
举报