[编程入门]三个数最大值-题解(Python代码) 摘要: a,b,c=map(int,input().split()) if a>b: if a>c: print(a) else…… 题解列表 2019年09月18日 0 点赞 0 评论 1445 浏览 评分:5.3
[编程入门]三个数最大值-题解(C语言代码) 摘要: #include int main(void) { int a,b,c; scanf("%d%d%d",&a,&b,&c); p…… 题解列表 2019年09月10日 0 点赞 2 评论 1190 浏览 评分:9.3
三个数最大值-题解(Python代码) 一行代码 摘要:核心语句:a, b,c= map(int, input().strip().split()) 这句话的作用是将输入的两个整数,中间以空格隔开,分别赋值给a,b,c AC代码: ``` pr…… 题解列表 2019年09月04日 1 点赞 0 评论 2146 浏览 评分:8.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:import java.util.Scanner; public class Third { public static void main(String[] args) { Scan…… 题解列表 2019年08月22日 0 点赞 0 评论 781 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:#include #include #include #include int main() { int a,b,c,d,e; scanf("%d%d%d",&a,&b,&c…… 题解列表 2019年08月22日 0 点赞 0 评论 682 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:```c #include int main() int a,b,c; scanf("%d",&a); scanf("%d",&b); scanf("%d",&c); …… 题解列表 2019年08月11日 0 点赞 0 评论 736 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:#include int main() { int a,b,c,max; scanf("%d%d%d",&a,&b,&c); max=a; if(b>max)max=b; if…… 题解列表 2019年07月23日 0 点赞 0 评论 583 浏览 评分: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 评论 996 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:###用两次三目运算符输出 ** 第一次:(a>b?a:b)求出a,b中最大的那个数 第二次:(a>b?a:b)>c?(a>b?a:b):c,用a,b中最大的数再和c比较 ** 代码如下…… 题解列表 2019年07月22日 0 点赞 0 评论 796 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:使用条件表达式a>b?a:b可以使代码更精简 a>b?a:b的含义为 a>b如果为真,表达式结果为a,如果为假,则表达式结果为b。 代码如下: include int main() {…… 题解列表 2019年07月17日 0 点赞 2 评论 1969 浏览 评分:9.6