string ans[12]={"水瓶座","雙魚座","牡羊座","金牛座","雙子座","巨蟹座","獅子座","處女座","天秤座","天蠍座","射手座","摩羯座"}; int p[12]={61,100,141,181,222,262,303,342,384,424,463,503}; //月份*40+日
當然if - else 也可以不要緊