Fortune Telling Collection - Zodiac Analysis - C language calculates the constellation according to a person's ID number.
C language calculates the constellation according to a person's ID number.
When continuous input, it is necessary to clear the residual characters in the input stream. Just make a slight modification:
while( 1){
if ( scanf("%* 10s%4d ",& ampm)= = EOF)break;
fflush(stdin); //Clear the remaining characters in the input stream.
Don't change a word, everything is the same.
If (m < = 419&; & ampm & gt= 32 1)printf(" Aries \ n "); ....
- Related articles
- Constellation boys who don't go with the flow _ Constellation boys who don't go with the flow
- What is the constellation of 200006 1 1?
- What does a druid mean?
- 12 constellation midnight food store punched in.
- If you treat it sincerely, which constellations will pour all their emotions into each other?
- Legend of the Sword and the Chivalrous Man 1 Who played Qing Er?
- Hanamichi Sakuragi seiyuu is?
- The twelve constellations love a person's performance.
- Yang Mi all information (including family members)
- What is the date of March 1993 in Gregorian calendar? What constellation?