怎么做逻辑或
int age = 4;//年龄
if (age < 6 age > 60)
age=(age < 6 || age > 60) Console.WriteLine("请坐爱心座!");
else
Console.WriteLine("请坚持一下!");
int age = 4;//年龄
if (age < 6 age > 60)
age=(age < 6 || age > 60) Console.WriteLine("请坐爱心座!");
else
Console.WriteLine("请坚持一下!");
2021-10-25
举报