Fortune Telling Collection - Horoscope - How to calculate input week output constellation _ input week output constellation?
How to calculate input week output constellation _ input week output constellation?
Input cycle output constellation
Console. WriteLine ("month");
String month = console. ReadLine();
Console. WriteLine(" day ");
int day = int。 Parse (console. ReadLine());
Switch (month) (
Case "1":
//Capricorn-Aquarius
if(day & gt; = 1。 & ampday & lt= 19) {
Console. WriteLine (Capricorn);
} else if(day & gt; = 20 & amp& ampday & lt= 3 1) {
Console. WriteLine ("water bottle");
} Otherwise {
Console. WriteLine ("Wrong date entered!" );
}
Break;
Case "2":
Break;
Default value:
Break;
}
- Related articles
- There is a live action movie with 12 people. 12 people are divided into 4 groups! Everyone can transform, and the name of armor is 12 constellation!
- Looking for true love, these constellation women just don't give up until they find it?
- The five constellations that dare to provoke the school bully
- The more you get along with each other, the more attractive you become. What constellations are suitable for long-term and rare soul mates?
- The paper logarithm of the twelve constellations _ What is the paper logarithm of the twelve constellations?
- Ji Xiaolan constellation _ What constellation in Ji Xiaolan?
- Always looking for keys, wallets and cell phones.
- What is the constellation of April 15 in lunar calendar _ What is the constellation of April 15 in lunar calendar in 2004?
- Do you know the constellation that is obviously kind, but once rude, there is no room for return?
- The most attractive three constellation women