三个数最大值-题解(Python代码) 一行代码 摘要:核心语句:a, b,c= map(int, input().strip().split()) 这句话的作用是将输入的两个整数,中间以空格隔开,分别赋值给a,b,c AC代码: ``` pr…… 题解列表 2019年09月04日 1 点赞 0 评论 2118 浏览 评分:8.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:import java.util.Scanner; public class Third { public static void main(String[] args) { Scan…… 题解列表 2019年08月22日 0 点赞 0 评论 755 浏览 评分: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 评论 655 浏览 评分: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 评论 704 浏览 评分: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 评论 565 浏览 评分: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 评论 953 浏览 评分: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 评论 766 浏览 评分:0.0
[编程入门]三个数最大值-题解(C语言代码) 摘要:使用条件表达式a>b?a:b可以使代码更精简 a>b?a:b的含义为 a>b如果为真,表达式结果为a,如果为假,则表达式结果为b。 代码如下: include int main() {…… 题解列表 2019年07月17日 0 点赞 2 评论 1951 浏览 评分:9.6
[编程入门]三个数最大值-题解(C语言代码) 摘要:```c #include void main() { int a; int b; int c; int max; scanf("%d%d…… 题解列表 2019年07月17日 0 点赞 0 评论 688 浏览 评分:0.0
C语言三目运算符的使用 摘要:````c #include int MAX (int a,int b,int c); int main() { int a,b,c; scanf("%d %d %d",&…… 题解列表 2019年06月23日 0 点赞 0 评论 719 浏览 评分:0.0