#include <stdio.h>
int main()
{
int age;
age=18;
char sex;
sex="M"; //编译过程说这一步错了,不懂为啥
float height;
height=173.2;
double some;
some=3.121212;
printf ("age");
printf ("sex");
printf ("height");
printf ("some");
return 0;
}
应该是...这样吧
这个的话输出不了实际数据
单引号吧
兄dei ,将“M”改成‘M’