使用软件 devc++
代码如下 如有更方便的方法请指教
#include<iostream>
using namespace std;
int main()
{
int month,date;
cout<<"请输入你的出生月份(xx月):"<<endl;
cin>>month;
cout<<"请输入你的出生日期(xx日):"<<endl;
cin>>date;
if((31>=date)&&(date>=20)&&(month==1)||(18>=date)&&(date>=1)&&(month==2))
{
cout<<"你的星座是————水瓶座"<<endl;
}
else if((29>=date)&&(date>=19)&&(month==2)||(20>=date)&&(date>=1)&&(month==3))
{
cout<<"你的星座是————双鱼座"<<endl;
} else if((month==3