2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:#include<stdio.h> #define N 10 int main() { float input[N], total= 0; int i,num = 0; for (i = …… 题解列表 2017年07月05日 0 点赞 0 评论 1430 浏览 评分:9.9
优质题解 母牛的故事 (C语言代码) 摘要:这个题目挺有意思的,我主要用了“斐波那契数列”的知识来解答的,但是发现了问题。1、我用了函数递归来解题,导致时间超时,问题是由于每次解答一题要递归好几次。2、题目中的 0<n<55头牛的条件没用上,所…… 题解列表 2017年07月05日 286 点赞 156 评论 37639 浏览 评分:8.7
C语言程序设计教程(第三版)课后习题6.3 (Java代码) 摘要://普通方法import java.util.Scanner;public class Main { public static void n(int num){ …… 题解列表 2017年07月05日 4 点赞 1 评论 1141 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:#include<stdio.h>int main(){ double x, y; printf("Enter x:"); scanf("%lf", &x); y=x<1?x:…… 题解列表 2017年07月05日 0 点赞 0 评论 716 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:#include<stdio.h>int main(){ double x, y; printf("Enter x:"); scanf("%lf", &x); y=x<1?x:…… 题解列表 2017年07月05日 0 点赞 0 评论 1333 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:#include<stdio.h>int main(){ double x, y; printf("Enter x:"); scanf("%lf", &x); y=x<1?x:…… 题解列表 2017年07月05日 2 点赞 1 评论 705 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.8 (C++代码) 摘要:#include<stdio.h> #include<stdlib.h> typedef struct students { int num ; int score; s…… 题解列表 2017年07月04日 8 点赞 0 评论 1805 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题6.3 (C语言代码) 摘要:int main(){int i ,n,s1=1,t=0,sn=0;scanf("%d",&n);for(i=0;i<n;i++){t=t*10;t=2+t;sn=sn+t;}printf("%d\n…… 题解列表 2017年07月04日 0 点赞 0 评论 1087 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:#include<stdio.h>int main(){ int a,t; scanf("%d",&a); switch(a/100000){ case 0: …… 题解列表 2017年07月04日 0 点赞 0 评论 1076 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:import java.util.Scanner;public class Main { public static int wage(int a){ if…… 题解列表 2017年07月04日 0 点赞 0 评论 1208 浏览 评分:0.0