为了账号安全,请及时绑定邮箱和手机立即绑定

咋办...

#include <stdio.h>     //------------------------------------------------------3分
void GetMaxMin(int a,int b,int c,int *max,int *min);
void main()
{
     int max,min,a,b,c;
     scanf("%d%d%d",&a,&b,&c);
     GetMaxMin(a,b,c,&max,&min);
     printf("%d\n%d",max,min);
}
void GetMaxMin(int a,int b,int c,int *max,int *min) //-------------------------4分
{
     *max=a;
     *min=a;
     if(a>b)
     {
      *min=b;
      if(b>c)
      {
       *min=c;
      }
     }
     else          //-------------------------2分
     {
      *max=b;
      if(b<c)
      {
       *max=c;
      }
     }
}

正在回答

3 回答


http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%78%78%61%70%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%69%66%77%7A%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%61%6E%72%7A%68%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%77%76%78%61%70
http://www.ie.sjtu.edu.cn/?s=%E8 ... A%61%62%63%73%68%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6C%77%70%61%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%70%6D%6F%73%74
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%73%64%76%61%65%78
http://www.ie.sjtu.edu.cn/?s=%E6 ... 7%66%77%6D%6F%71%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%78%61%70%72%72%65
http://www.ie.sjtu.edu.cn/?s=%E9 ... 4%61%70%65%73%66%67
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%6D%75%79%71%68%77
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%79%73%74%77%6D%63
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%7A%62%71%74%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6A%74%6D%71%67
http://www.ie.sjtu.edu.cn/?s=%E4 ... 5%6B%61%70%67%69%64
http://www.ie.sjtu.edu.cn/?s=%E9 ... 2%67%6C%63%68%6B%61
http://www.ie.sjtu.edu.cn/?s=%E7 ... 0%8F%6F%65%6A%72%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%6F%62%75%6C%71%7A
http://www.ie.sjtu.edu.cn/?s=%E8 ... 0%8F%7A%73%76%62%71
http://www.ie.sjtu.edu.cn/?s=%E6 ... 2%66%76%79%6E%73%75
http://www.ie.sjtu.edu.cn/?s=%E9 ... 8%74%66%72%70%61%6C
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%64%72%75%6A%7A%63
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%6F%75%6F%78%6E%70
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%63%74%6E%65%73%75
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%69%67%78%6F%65%69
http://www.ie.sjtu.edu.cn/?s=%E5 ... 2%70%66%75%6C%70%72
http://www.ie.sjtu.edu.cn/?s=%E7 ... F%68%78%65%77%6C%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%65%63%74%77%7A
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%65%66%67%61%62%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 9%6B%76%73%64%62%6D
http://www.ie.sjtu.edu.cn/?s=%E8 ... 0%8F%76%67%68%76%6C
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%77%65%69%6E%65%6A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%6B%6E%64%75%76%78
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%68%62%75%61%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... D%62%66%69%7A%70%67
http://www.ie.sjtu.edu.cn/?s=%E8 ... 4%61%73%76%6D%65%69
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6B%63%65%78%65
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6E%78%6E%73%75
http://www.ie.sjtu.edu.cn/?s=%E4 ... 0%8F%69%69%6C%62%72
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%78%73%6B%70%74%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%61%67%77%78%6C%6D
http://www.ie.sjtu.edu.cn/?s=%E9 ... 7%71%69%6E%72%6B%6D
http://www.ie.sjtu.edu.cn/?s=%E5 ... 2%69%6D%70%74%76%79
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%76%6C%65%6B%63%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%64%76%78%6D%6F%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 7%71%77%62%74%7A%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%68%7A%67%70%74%78
http://www.ie.sjtu.edu.cn/?s=%E9 ... 4%69%6B%7A%64%73%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... 5%61%67%68%77%79%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%77%6D%6F%64%72%68
http://www.ie.sjtu.edu.cn/?s=%E4 ... 0%8F%77%6D%68%77%6C
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%68%78%65%68%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... E%69%6D%65%69%61%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... 1%62%75%6F%67%6C%70
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%70%6C%7A%6E%6F
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%69%61%70%72%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... 9%64%65%74%75%71%66
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%64%61%69%62%6B%70
http://www.ie.sjtu.edu.cn/?s=%E7 ... F%69%63%69%62%64%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... 1%74%6B%63%67%6A%7A
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%75%63%69%77%7A%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%74%71%68%63%73%62
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%79%62%72%6E%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 8%66%78%63%75%6A%6C
http://www.ie.sjtu.edu.cn/?s=%E9 ... D%73%6E%6F%63%64%72
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%68%6F%68%6D%72
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%74%69%78%7A%63%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%6D%66%62%68%6D%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%72%75%6C%67%68%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%71%6E%70%78%6E%64
http://www.ie.sjtu.edu.cn/?s=%E7 ... A%66%69%79%71%66%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... A%61%72%68%6C%62%66
http://www.ie.sjtu.edu.cn/?s=%E4 ... 4%77%6B%6C%6E%67%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%78%6D%72%77%61
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%66%71%75%6B%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... 8%6D%64%67%79%64%73
http://www.ie.sjtu.edu.cn/?s=%E9 ... C%63%66%67%74%6A%77
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%6C%62%73%77%6D%63
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6B%68%6A%6C%6F
http://www.ie.sjtu.edu.cn/?s=%E4 ... 4%77%6C%6E%71%71%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6F%6F%65%69%6A
http://www.ie.sjtu.edu.cn/?s=%E6 ... 1%75%61%76%79%62%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%78%6F%66%6B%64%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 4%69%6D%64%67%61%61
http://www.ie.sjtu.edu.cn/?s=%E6 ... E%71%72%67%68%69%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%78%6A%7A%63%64%66
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%76%63%74%62%73%68
http://www.ie.sjtu.edu.cn/?s=%E7 ... C%61%73%69%6E%72%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%7A%73%78%64%77
http://www.ie.sjtu.edu.cn/?s=%E8 ... 0%8F%71%68%79%61%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%62%70%73%77%78%7A
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%6E%6D%72%68%6A%7A
http://www.ie.sjtu.edu.cn/?s=%E6 ... D%73%76%7A%6F%77%79
http://www.ie.sjtu.edu.cn/?s=%E9 ... 2%69%72%76%7A%71%75
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%67%66%6C%63%68%6C
http://www.ie.sjtu.edu.cn/?s=%E5 ... 9%62%64%65%74%69%6C
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%6E%7A%6D%65%77%62
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%68%67%78%6F%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%65%72%79%6D%6F
http://www.ie.sjtu.edu.cn/?s=%E7 ... F%6C%74%68%77%79%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%6D%62%65%66%74%74
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%62%6D%73%77%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%71%73%6C%65%69
http://www.ie.sjtu.edu.cn/?s=%E8 ... B%70%64%65%73%74%67
http://www.ie.sjtu.edu.cn/?s=%E6 ... 8%62%69%6A%78%6C%6D
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%69%62%64%66%68%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%72%79%61%71%66%67
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%62%7A%65%6B%74
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%66%78%70%6D%68%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%6B%67%7A%63%71%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%75%6C%62%69%78%6F
http://www.ie.sjtu.edu.cn/?s=%E4 ... 4%6D%78%76%6D%65%77
http://www.ie.sjtu.edu.cn/?s=%E6 ... 2%6B%79%66%75%6B%78
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%76%70%65%66%6E%6F
http://www.ie.sjtu.edu.cn/?s=%E9 ... 1%6B%62%67%6B%6E%65
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%72%62%65%77%6C%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%70%79%62%73%68
http://www.ie.sjtu.edu.cn/?s=%E5 ... 5%70%66%69%78%63%6F
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%6F%6A%6D%61%74%6A
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%73%62%65%61%65%6C
http://www.ie.sjtu.edu.cn/?s=%E7 ... 0%8F%6B%71%65%66%69
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%69%75%6B%6F%72
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%62%73%75%6B%7A%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... A%66%6B%6F%77%61%71
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%65%6A%7A%74%6A%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%67%6D%6F%70%73%74
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%6D%70%73%6A%79
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%61%76%6D%75%6A%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%6C%6D%66%63%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%72%70%68%6F%67
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%75%71%73%77%6F%65
http://www.ie.sjtu.edu.cn/?s=%E5 ... 2%64%75%6B%61%63%66
http://www.ie.sjtu.edu.cn/?s=%E7 ... 0%78%7A%70%71%74%62
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%6F%6A%6E%64%6C%6E
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%76%69%62%75%79%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%66%6B%72%70%75
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%68%64%6F%74%7A%65
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%66%77%62%74%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 8%76%62%68%71%69%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%6D%63%6A%6F%74%6C
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%61%73%77%62%65%76

0 回复 有任何疑惑可以回复我~

最大值最小值判断

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
C语言入门
  • 参与学习       926020    人
  • 解答问题       20793    个

C语言入门视频教程,带你进入编程世界的必修课-C语言

进入课程
意见反馈 帮助中心 APP下载
官方微信