Console.WriteLine("请输入你的性别,身高和体重:"); string s = Console.ReadLine(); double h = double.Parse(Console.ReadLine()); double g = double.Parse(Console.ReadLine()); if (s == "男") { ; && n <= ) { Console.WriteLine("您的体重是标准体重&qu…
主要用到sqlserver语句中的判断语法 if (min_hetonge.Length > 0 && int.TryParse(min_hetonge, out min)) sqltxt.Append("and case when ISNUMERIC(con_money)=1 then cast(con_money as float) else " + min + "+1 end > " + min + ""); i…