如题
#include<stdio.h>
main()
{
int Age;
char Sex;
float Height, Weight;
Age=31;
Sex='M';
Height=1.68;
Weight=59.4;
printf("人的基本信息如下:\n");
printf("年龄是:%d岁,性别是:%c\n",Age,Sex);
printf("身高是:%f米,体重是:%f千克\n",Height,Weight);
return 0;
}
想问一下大家造成这种情况的原因,是c++6.0本身的问题吗?麻烦大家了