C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要://编写一个程序,输入a、b、c三个值,输出其中最大值。#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); pri…… 题解列表 2017年06月11日 4 点赞 0 评论 1879 浏览 评分:2.0
求三个数的最大值 摘要:解题思路:解题思路1:用嵌套if语句,判断a>b成立的话,再判断a>c成立的话,把a赋值给max;,不成立则把c赋值给max;最后输出max。解题思路2:先判断出两个数中的最大值,再用两个数中的最大值…… 题解列表 2021年09月11日 0 点赞 0 评论 352 浏览 评分:2.0
三个数最大值1002题解(c++) 摘要:#include using namespace std; int main() { int a; int b; int c; cin>>a>>b>>c; if (a>b>c)…… 题解列表 2023年11月12日 0 点赞 0 评论 348 浏览 评分:2.0
小白python系列-三个数最大值 摘要:解题思路:小白都能看懂系列=v=参考代码:a,b,c=map(int,input().split())if a>b: if a>c: &…… 题解列表 2025年07月30日 8 点赞 0 评论 1517 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题1.6 选取其中最大的数字 摘要:#include<stdio.h> int main() { int a,b,c; printf("\n1.请输入数字:"); scanf("%d", &a); …… 题解列表 2017年06月10日 9 点赞 0 评论 2952 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:这编译器居然不让我通过!!!!!# include<stdio.h>int main(void){ int a,b,c,max; printf("please input a b c Sepera…… 题解列表 2017年06月21日 0 点赞 0 评论 1246 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d%d%d\n",&a,&b,&c); if(a>b) t=a; …… 题解列表 2017年06月23日 0 点赞 0 评论 1101 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码: int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b) t=a; else t=b;…… 题解列表 2017年07月30日 1 点赞 0 评论 1213 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); if(a>b)max=a…… 题解列表 2017年08月20日 0 点赞 0 评论 1091 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C++代码) 摘要:参考代码:#include <algorithm>#include <iostream>using namespace std;int main(){ int a,b,c; cin >> …… 题解列表 2017年09月12日 1 点赞 0 评论 1573 浏览 评分:0.0