摘要:
namespace Demo11_三目运算符 { class Program { static void Main(string[] args) { Console.WriteLine("请输入年龄:"); int age = int.Parse(Console.ReadLine()); strin 阅读全文
posted @ 2020-09-17 15:00
___lucky
阅读(792)
评论(0)
推荐(0)
摘要:
class Program { static void Main(string[] args) { int i = 1; do { Console.WriteLine(i); i++; } while (i<=10); //先执行do,再判断while中的条件 for (int j = 15; j 阅读全文
posted @ 2020-09-17 14:46
___lucky
阅读(88)
评论(0)
推荐(0)
摘要:
class Program { static void Main(string[] args) { /* int x, y, z; x = 95; y = 92; z = 99; if (x >= 90) { Console.WriteLine("x大于90"); } */ int week; wh 阅读全文
posted @ 2020-09-17 14:38
___lucky
阅读(178)
评论(0)
推荐(0)
浙公网安备 33010602011771号