橙子的功效,都市2046私服,七线阁
2018-11-11 17:12:34 开始写
1 public static string getconstellation(int month, int day) 2 { 3 string[] constellations = { "魔蝎座", "水瓶座", "双鱼座", "白羊座", "金牛座", "双子座", 4 "巨蟹座", "狮子座", "处女座", "天秤座", "天蝎座", "射手座" }; 5 int[] divide = { 19, 18, 20, 19, 20, 21, 22, 22, 22, 23, 22, 21 }; 6 if (day <= divide[(month - 1)]) { 7 return constellations[(month - 1)]; 8 } 9 if (month >= 12) { 10 month = 0; 11 } 12 return constellations[month]; 13 }
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
浅析我对 String、StringBuilder、StringBuffer 的理解
使用IDEA搭建SSM框架的详细教程(spring + springMVC +MyBatis)
Springboot整合freemarker 404问题解决方案
引入mybatis-plus报 Invalid bound statement错误问题的解决方法
网友评论