#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; }
printf("%f%c\n", a, h); //"\n"的作用就是换行
printf("%f\n%c", a, h);