设计算法,找出3个数中的最大值

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/04 10:44:42

设计算法,找出3个数中的最大值

if (a>b)&&(a>c)
  max=a;
  else if (b>c)
    max=b;
    else max=c;