星期幾,閏年和星座判斷— if else 練習

不知天上宮闕,今夕是閏年。我欲乘風歸去,又恐瓊樓玉宇,高處不勝寒。起舞弄清影,何似在人間。

利用 Date Picker 選擇時間,判斷閏年,星期幾和當天出生的人是什麼星座。

閏年的判斷方法,可參考以下連結:

判斷星期幾的方法


彼得潘的 100 道 Swift iOS App 謎題

適合新手練功的 100 道 Swift iOS App 謎題

彼得潘的 iOS App Neverland

Written by

彼得潘的 Swift 程式設計入門,App程式設計入門作者,彼得潘的iOS App程式設計入門,文組生的iOS App程式設計入門講師,http://apppeterpan.strikingly.com

彼得潘的 100 道 Swift iOS App 謎題

適合新手練功的 100 道 Swift iOS App 謎題

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade