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;

}