建立七天的表{"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"},抓出輸入的是第幾天並加上輸入的N,再和7天取餘數就知道是星期幾了。
要避免開long int很簡單,只要輸入的N大於7,就先減掉7天吧!