正確答案就是這個
正確答案 int year = 2015;//年份 ? ? ? ? ? string text ; ? ? ? ? ? text = year %4 ==0 ?"閏年":"平年";//請填寫代碼 ? ? ? ? ? ?Console.WriteLine("今年是{0}",text);
正確答案 int year = 2015;//年份 ? ? ? ? ? string text ; ? ? ? ? ? text = year %4 ==0 ?"閏年":"平年";//請填寫代碼 ? ? ? ? ? ?Console.WriteLine("今年是{0}",text);
2017-03-01
舉報
2017-03-01
int?year?=?2017; string?text; text?=?year?%?4?==?0?"閏年":"平年"; Console.WriteLine("今年是{0}",text);