hyf


私信TA

用户名:hyf31

访问量:5266

签 名:

加油!

等  级
排  名 682
经  验 3833
参赛次数 5
文章发表 11
年  龄 13
在职情况 学生
学  校 XS
专  业

  自我简介:

在校学生

参考代码:

#include<iostream>
using namespace std;
int main()
{
   int a[3], max;
   for (int i = 0; i <= 2; i++)
       cin >> a[i];
   max = a[0];
   if (a[1] > max)
       max = a[1];
   if (a[2] > max)
       max = a[2];
   cout << max << endl;
   return 0;
}
 

0.0分

8 人评分

看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:

编程语言转换

万能编程问答

代码解释器

  评论区

good
2020-11-27 21:15:54
  • «
  • 1
  • »