c#——if語句

if 語句 (一)if語句的格式(如下圖) 例1:簡單的if語句 namespace 布爾表達式 { class Program { static void Main(string[] args) { Console.WriteLine("請輸入年齡"); string s1 = Console.ReadLine(); int age = Convert.ToInt32(s1); if (age>
相關文章
相關標籤/搜索