2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c,f; for(c=-100;c<=150;c+=5) { f=32+…… 题解列表 2017年08月27日 0 点赞 0 评论 847 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int num[10]={0},t; int i,tem=0; …… 题解列表 2017年08月27日 0 点赞 1 评论 741 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c,d; char s[100]={0}; i=a=b=c=d=0; …… 题解列表 2017年08月27日 0 点赞 0 评论 755 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:对于求两个整数的最小公倍数采用辗转相除法:设两数为a、b(b<a),用gcd(a,b)表示a,b的最大公约数,r=a mod b 为a除以b以后的余数,k为a除以b的商,即a÷b=k....…… 题解列表 2017年08月27日 4 点赞 2 评论 1659 浏览 评分:8.0
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num[20]={0},count=0,i,j=0; float sum=0; for…… 题解列表 2017年08月27日 0 点赞 0 评论 880 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main(){ int num; int a,b,c,d; scanf ("%d",&num); …… 题解列表 2017年08月27日 0 点赞 0 评论 862 浏览 评分:4.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; for(i=10;i<=1000;i++) { if(i%6==0…… 题解列表 2017年08月27日 0 点赞 0 评论 827 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>int main(){ int n,m,sum=0,i,j; scanf("%d%d",&m,…… 题解列表 2017年08月27日 1 点赞 0 评论 1323 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;struct student{ int num; …… 题解列表 2017年08月26日 0 点赞 0 评论 942 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:使用一个数组存放每个月份的天数,注意判断本年是否为闰年。注意事项:参考代码:#include<stdio.h>int main(){ int Y,M,D,sum=0,i,flag=0;…… 题解列表 2017年08月26日 0 点赞 0 评论 1031 浏览 评分:0.0