笔记 1002: [编程入门]三个数最大值 摘要:```java import java.util.Scanner; public class Main { public static void main(String[] args…… 题解列表 2023年12月19日 0 点赞 0 评论 341 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值(python) 摘要:解题思路:参考菜鸟python的max()函数,百度python如何输入三个数注意事项:参考代码:a,b,c=map(int,input().split());print(max(a,b,c));…… 题解列表 2022年08月03日 0 点赞 0 评论 357 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:int f(int num,int num1);//返回最大的数int f(int num,int num1){ return num > num1?num:num…… 题解列表 2018年12月04日 0 点赞 0 评论 342 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:#include int main() { int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max=a; if(max…… 题解列表 2019年07月23日 0 点赞 0 评论 618 浏览 评分:0.0
课后习题1.6 利用三目运算 摘要:参考代码:#include<stdio.h>int main(){ int i,s,w,t; printf("请输入三个值"); scanf("%d%d%d",&i,&s,&w); if( i>s ?…… 题解列表 2018年04月20日 0 点赞 0 评论 700 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码#include <stdio.h>int main(){ int a,b,c,m,max; scanf("%d%d%d",&a,&b,&c); if(a>b) m=a; …… 题解列表 2017年11月17日 2 点赞 0 评论 828 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 【我这个是任意个数的最大值,复杂度On-1】 摘要:import java.io.BufferedReader;import java.io.InputStreamReader;public class Main { public static …… 题解列表 2022年12月22日 0 点赞 0 评论 98 浏览 评分:0.0
直接用max(), 摘要:解题思路:直接使用max()函数注意事项:简洁明了参考代码:python的特点就是简洁,所以一句解决问题print(max(map(int,input().split())))…… 题解列表 2021年11月23日 0 点赞 0 评论 235 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 利用数组 摘要:- include int main() { int a[10]; int n= 3; for (int i = 0; i < n; i++) { scanf("%d", &…… 题解列表 2020年02月07日 0 点赞 0 评论 310 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:方法一: 解题思路:直接比较大小,保留最大的数; #include<stdio.h> int main() { int a,b,c,x; scanf("%d%d%d",&a,&b,&…… 题解列表 2018年08月10日 0 点赞 0 评论 627 浏览 评分:0.0