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 评论 771 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(…… 题解列表 2018年12月25日 0 点赞 0 评论 590 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d…… 题解列表 2018年12月28日 0 点赞 0 评论 553 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:一个接一个比较注意事项:不要弄混比较量参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d",&a,&b,&c…… 题解列表 2018年12月30日 0 点赞 0 评论 508 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d", &a,&b,&c); max=a…… 题解列表 2019年02月01日 0 点赞 0 评论 611 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d",a>(b>c?…… 题解列表 2019年02月01日 0 点赞 0 评论 620 浏览 评分:0.0
课后习题1.6 (C++代码)max_element 摘要:注意事项:用到max_element参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a…… 题解列表 2019年03月02日 0 点赞 0 评论 879 浏览 评分:0.0
[编程入门]三个数最大值 (C语言代码) 摘要:解题思路:max = max(max,max)就可以了注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[5];int used[5…… 题解列表 2019年04月20日 0 点赞 0 评论 1724 浏览 评分:0.0
[编程入门]三个数最大值 (C语言代码) 摘要:解题思路:就是比大小,简单粗暴注意事项:无参考代码:#include<stdio.h> int main(){ int a,b,c,r; scanf("%d %d %d",&a,&b,&c); …… 题解列表 2019年05月23日 0 点赞 0 评论 1118 浏览 评分: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 评论 775 浏览 评分:0.0