string str=Console.ReadLine();
int y=Convert.TonInt32(str);
if(y<6 || y>60)
Console.WriteLine("请坐爱心座"):
else
Console.WriteLine("请坚持一下"):
                int y=Convert.TonInt32(str);
if(y<6 || y>60)
Console.WriteLine("请坐爱心座"):
else
Console.WriteLine("请坚持一下"):
                    
                    2020-09-07
                
            string text = ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) ? "闰年" : "平年";
                
                    
                    2020-08-17
                
            //闰年的判断条件格式
(year % 400 == 0 || year % 4 == 0 && year % 100 != 0)
//如果 年能被400整除 或者 年能被4整除 并且年不能被100整除。
                (year % 400 == 0 || year % 4 == 0 && year % 100 != 0)
//如果 年能被400整除 或者 年能被4整除 并且年不能被100整除。
                    
                    2020-08-15
                
            程序中的变量名、常量名、类名、方法名,都叫做标识符。
①标识符只能由英文字母、数字和下划线组成,不能包含空格和其他字符。
②变量名不能用数字开头。
③不能用关键字当变量名。
                ①标识符只能由英文字母、数字和下划线组成,不能包含空格和其他字符。
②变量名不能用数字开头。
③不能用关键字当变量名。
                    
                    2020-08-15
                
            Console.WriteLine(true|| false);//输出True
Console.WriteLine(true && false);//输出False
Console.WriteLine(!false);//输出True
                Console.WriteLine(true && false);//输出False
Console.WriteLine(!false);//输出True
                    
                    2020-08-14
                
            感觉两节内容可以用一段代码搞定
把max当索引,轻轻松松
for(i=0;i<score.Length;i++)
{
if(score[i]>=score[max])
{
max = i;
}
}
                把max当索引,轻轻松松
for(i=0;i<score.Length;i++)
{
if(score[i]>=score[max])
{
max = i;
}
}
                    
                    2020-07-23
                
             
             
        










