Fortune Telling Collection - Zodiac Guide - How to print out the twelve constellations with switches in C language to solve the great god? . . Seek the code. . . . . . . Thank you.
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;
}
- Previous article:Who is the most rude after the breakup of the zodiac?
- Next article:What constellation is the seventh birth?
- Related articles
- Constellation Dont Ask For Help Query Wealth _ Constellation Dont Ask For Help Query
- Do you know which female drivers in the zodiac are more reliable than male drivers?
- A constellation girl who won't be fooled at all.
- Which constellations will be easy to get off the list next year 1 month?
- What are the constellations classified by?
- Who played the third aunt in Jinxiu Weiyang?
- July 3 1 constellation
- Constellation shop
- Where are the constellations in the starry sky? I hope not to use technical terms. I am in Jilin. Just tell me where to look at the angle. . .
- You are clearly cared about in your heart, and the constellation that is difficult to open in your heart loves you very much, do you know?