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 评论 822 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:注意事项:注意scanf("%lf",&f);或者scanf("%f",&f);如果你前面定义的f是用double类型的话,就应该用%lf格式,如果f是float类型的话,就应该用%f,不然…… 题解列表 2017年08月20日 0 点赞 0 评论 940 浏览 评分:8.0
C语言程序设计教程(第三版)课后习题6.3 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] age){ …… 题解列表 2017年08月20日 0 点赞 0 评论 881 浏览 评分:9.9
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int b; while("%d %d",&a,&b)!=EOF) …… 题解列表 2017年08月20日 0 点赞 1 评论 788 浏览 评分:2.5
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:先输入,然后进行运算,最后输出。注意事项:输出格式不能错,整型用%d,字符型用%c,浮点型用%f。参考代码:#include"stdio.h"int main(){ char ch1,…… 题解列表 2017年08月20日 0 点赞 0 评论 839 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:#include<stdio.h> int main() { int a=10 b=11 …… 题解列表 2017年08月20日 0 点赞 0 评论 837 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:需要反向思考参考代码:#include <stdio.h> int sum(int count); int main(void) { int day = 0; sc…… 题解列表 2017年08月20日 0 点赞 0 评论 825 浏览 评分:0.0
永远的丰碑 (C语言代码) 摘要:#include <stdio.h>#define M 1000int main(){ int n; int a[M]; int i; int max; while(scanf("%d",&n) &&…… 题解列表 2017年08月19日 0 点赞 0 评论 958 浏览 评分:9.9
钟神赛车 (C语言代码) 摘要:#include <stdio.h>#define M 1000int main(){ int n; int a[M],b[M]; int i,j,t,k; int value,win,lose,ma…… 题解列表 2017年08月19日 1 点赞 0 评论 1236 浏览 评分:4.0
川哥的吩咐 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#define N 1000int main(){ char a[N],b[N]; …… 题解列表 2017年08月19日 2 点赞 0 评论 1264 浏览 评分:2.0