C语言基础
#include <stdio.h>
#include <stdlib.h>
int main()
{
int num;
int horse = 1;
printf("请输入彩礼钱");
scanf_s("%d",&num);
if (num >= 30)
{
if(horse < 1) {
printf("不嫁,没房子");
}
else {
printf("嫁");
}
}
else{
printf("不嫁,没钱房子");
}
system("pause");
return 0;
}