题解 1002: [编程入门]三个数最大值

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1002c语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); if(a>b){ if……

一行就够了

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b,c;    scanf("%d%d%d",&a,&b,&c);    printf("%d……

java--study||O.o

摘要:参考代码:import java.util.Scanner; public class Main {   public static void main(String[] args) {  ……

两种方法求解最大值问题

摘要:解题思路:解法1:利用if语句判断a,b,c之间的大小;(较复杂)解法2:利用max函数判断最大值;(较简单)注意事项:1、max(a,b);其结果为a,b间的较大值。即:若a>b,则max(a,b)……

1002: [编程入门]三个数最大值

摘要:[题目传送门(一上来都是这个)](https://www.dotcpp.com/oj/problem1006.html) ###**思路** 定义一个数组,遍历求最大值即可。 ###**代码**……