//选择语句
include<stdio.h>
int main()
{
int a = 0;//输入值
printf("好好学习么(0/1)?\n");
scanf_s("%d\n", &a);
if (a == 1) {
printf("好offer\n");
}
else {
printf("回家买红薯");
}
return 0;
}
//选择语句
int main()
{
int a = 0;//输入值
printf("好好学习么(0/1)?\n");
scanf_s("%d\n", &a);
if (a == 1) {
printf("好offer\n");
}
else {
printf("回家买红薯");
}
return 0;
}