#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
struct stu
{
char name[20];
int age;
char sex;
int heigh;
};
int main()
{
int a = 0;
int time_day= 4;
int year_money =150000;
struct stu s1 = { "biscuits",21,'man',175 };
printf("姓名:%s\n年龄:%d\n性别:%c\n身高:%d\n", s1.name, s1.age, s1.sex, s1.heigh);
printf("你想努力学好编程吗? Y or N\n");
while ((a = getchar()) != 'Y')
{
;
}
printf("那我们一起努力吧!\n");
if (time_day>=4)
{
year_money = 150000;
}
printf("我的目标是进移动并且年入:%d\n", year_money);
return 0;
}