一个让人心动的女人
今天是我一天的生活的日志
#include<normal.h>
void chuShiHua(float i)
{
int time;
time=(int)i;
if(time>8) printf("初始化成功");
else if(time<7)printf("初始化失败");
printf("美好的一天又开始了\n");
}
typedef struct shencai
{
char name[8];
int age;
float height;
char hairColor[];
} GIRL;
int eye(float eye)
{
if(eye>5)return 1;
return 0;
}
void face(float face)
{
int i;
i=(int)face;
switch(i)
{
case 0:
case 1:
case 2:
case 3: printf("the face is unprety");break;
case 4:
case 5:
case 6:
case 7: printf("the face is prety");break;
case 8:
case 9:
case 10:
case 11: printf("the face is big");break;
default : printf("the face is not exist");
}
}
void height(float i)
{
if(i>175.0)printf("its prety");
else if(i>165.0&&i<175.0)printf("its normal");
printf("its too small");
}
/*the main programme as followed*/
int main()
{
chuShiHua(8.7);
GIRL girl;
printf("我正在走路,一个女孩进入我的眼帘");
girl.name=unknow;
girl.age=22;
girl.height=177.0;
girl.hairColor=black;
eye(6);
face(8);
height(girl.height);
while(1)
;
}