读书人

1、求a、b、c最大值的程序代码2、怎

发布时间: 2012-03-23 12:06:21 作者: rapoo

1、求a、b、c最大值的程序代码,2、如何一次连续接收并赋值给多个变量
如题1、求a、b、c最大值的程序代码,2、如何一次连续接收并赋值给多个变量

[解决办法]

C# code
int MaxNum(int a,int b,int c){  return Math.Max(Math.Max(a, b),c);//Math是 System.Math下的}
[解决办法]
探讨
C# code


int MaxNum(int a,int b,int c)
{
return Math.Max(Math.Max(a, b),c);//Math是 System.Math下的
}

读书人网 >C#

热点推荐