4 喜歡 0 不喜歡
1.3k 瀏覽

Write a program to find your zodiac sign. The program will take your date of birth as an input (YYYY/MM/DD) and output your zodiac. You can find information about zodiac here.

Example:

Input:

Input your birthday (YYYY/MM/DD):
1999/6/2

Output:

Your zodiac is Gemini

 

Input:

Input your birthday (YYYY/MM/DD):
1996/10/3

Output

Your zodiac is Libra
[正常] Coding (C) - 最新提問 分類:Questions Bank | 用戶: (5.9k 分)
ID: 30262 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 1.3k 瀏覽

1個回答

0 喜歡 0 不喜歡
內容已隱藏
* * **** * ***
* * ** * ***** **


int * argc, char * * ** {
* *** ** *** ** int year, * * date;
* * ** ** *** * * * your *** *** * * *** **
* * *** * * **** *
* * * ** * * *** ** * * * * * * * * *** ** *** **
**** ***** ** *** == 1 ** *** date ** 19) || (month == 2 * ** * * date ** 19))
** ** *** * * * * * * ** * ** is ** *** ** * *
*** ** ******** **
* * ** * * else * *** == 2 **** * date * * 17) || (month == 3 * * ** date *** * 21))
** * *** ** * **** * ** ** zodiac is * * *
* **** * * **** ** * **
* * * *** else ** == 3 **** ** date * ***** 19) || (month == 4 * * ** date ** 21))
* ** *** ** ** * * * ** * * ** * zodiac is * * ** * *
* *** ** ** ** ** ****
** * * * * ** * * else ** * == 4 * * * * * date ** ** 19) || (month == 5 ** * * date * 21))
** * * * * ** * * * * *** zodiac is * * * * * *
** * * *** * * * ** * **
*** * ** *** * ** ** ** * ** * == 5 ** * *** date ** * 19) || (month == 6 *** * ** * date * * 22))
** * ** * * ** * *** * * zodiac is ** ****
* * ** * ** ** * ** ** *
*** * * * * * *** * ** * ** == 6 *** * *** date * * 20) || * == 7 * **** ** **** date * * * 23))
***************** * * ** ***** *** * ** is * ** * *
* ****** **** * **
* * * ** * *** * * ** == 7 * ** * * ** date *** 21) || ** == 8 * * *** date ** 23 ))
* * ***** ** ** *** ******* ** zodiac is * ** *
** * * ******** *** **
* * * ** * * * * ** *** * * == 8 * * ** *** date **** 21) || == 9 * * * date * * 24))
* *** * **** *** * ** * ** * **** * * is *** ** *
* * * **** ** *** *
**** * ****** ***** * * * == 9 * ** *** date *** 22) || (month == 10 ** * *** date ** 23))
*** * * ******* * * * ** * * * zodiac is ** * *
* ** * *** *** ** ****
* * ** * ** ** * ** * **** * == 10 * * * ** * date 22) || (month == 11 **** * * * * date * 23))
* ** ***** * *** ***** * *** ********* * zodiac is ** * * * * **** *
* * ** * * ** * ****
* * ** * ** ** * ** * == 11 ***** ** ** date * * ** 21) || (month == 12 * ** date * 22))
*** * * ** * *** * * ** ** * * is * ** **** ***
* ***** * *** * ***
* ***** *** ** **** * *** **** == 12 ** * *** date * ** 21) || ** == 1 * ** date ** * 20))
**** * * * * *** * * * * **** * *** is ***** * *
* * ** ** * *****
* ** * * * ** ** ** ****** * month or date is *** **
* * *** * *
* * ** * *
}
最新回答 用戶: (220 分)
0 0
Case 0: Wrong output
Case 1: Wrong output
Case 2: Wrong output
Case 3: Wrong output
Case 4: Wrong output
0 0
-----------Re-judge-----------
Case 0: Wrong output
Case 1: Wrong output
Case 2: Wrong output
Case 3: Wrong output
Case 4: Wrong output
0 0
i don't know what is case? what did i wrong?
0 0
i don't know what is case? what did i wrong?
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.50.50
©2016-2025

相關問題

4 喜歡 0 不喜歡
0 回答
[正常] Coding (C) - 最新提問 11月 3, 2017 分類:Questions Bank | 用戶: nat236919 (5.9k 分)
ID: 30264 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 1.1k 瀏覽
4 喜歡 0 不喜歡
1 回答
[正常] Coding (C) - 最新提問 11月 3, 2017 分類:Questions Bank | 用戶: nat236919 (5.9k 分)
ID: 30261 - 從幾時開始: 無限制 - 到幾時結束: 無限制
| 1k 瀏覽
12,783 問題
183,442 回答
172,219 留言
4,824 用戶