Fortune Telling Collection - Zodiac Analysis - C voice constellation judgment _c language constellation judgment
C voice constellation judgment _c language constellation judgment
How to print out the twelve constellations with switches in C language to solve the great god? . . Seek the code. . . . . . . Thank you.
The question should be specific.
Now my understanding is to get a value a = 1- 12.
Then switch (a){
Case: 1
This value is XX. ...............
Case: 2
This value is XX. ...............
}
Like this?
Specific code:
int a = 1;
Switch (a)
Case 1:
system . out . println(" branch 1 ");
Break;
Case 2:
system . out . println(" branch 2 ");
Break;
}
- Related articles
- Chen Yuxuan's name is very meaningful. What about Chen Yuxuan?
- The constellation with the lowest tear point
- What do you mean by "above the constellation _ above the constellation"?
- Marriage needs the common maintenance and cherish tolerance of two people. How does the zodiac make marriage happy?
- Constellation of friends in need _ Constellation pairing of friends in need
- I am a mouse, and I don't know what my horoscope is.
- What constellation is 197 1? What is the sign of male _ 197 1?
- Ascending constellation on August 5, 2002 _ Ascending constellation on August 5, 2002
- What are the constellations that take the peach blossom luck?
- How to chase Scorpio girls and how to pursue Scorpio goddess.