母牛的故事 (C语言代码) 摘要:解题思路:代码很简单注意事项:参考代码:#include<stdio.h>void jisuan(int n,int sc[]);int main(){ static int sc[5]; int…… 题解列表 2018年12月21日 0 点赞 0 评论 938 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<math.h> int main() &n 题解列表 2018年12月21日 0 点赞 0 评论 754 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 (Java代码) 摘要:解题思路:用数组进行存放,根据题目要求很容易得出方法注意事项:a[0]要存放在一个变量中,否则会变参考代码:import java.util.Scanner; public class Main…… 题解列表 2018年12月21日 0 点赞 0 评论 989 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); if(a>b) max…… 题解列表 2018年12月21日 0 点赞 0 评论 685 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d",&a); if(a<=100000){ b=a*0.1; } els…… 题解列表 2018年12月21日 0 点赞 0 评论 642 浏览 评分:0.0
junmu1025:(C语言描述:单循环实现降序与升序的插入,16行哦(#^.^#)) 摘要:解题思路与注意事项: 1.设置flag技术确认序列为升序还是降序。 2.变量pd用来确认插入的值a[9]只插一遍 …… 题解列表 2018年12月21日 1 点赞 0 评论 916 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:用两个函数,分开求和,注意事项:要注意的范围,尽量把数据类型都改为double,双保险。参考代码:#include<stdio.h>double fun(double n){ if(n==1…… 题解列表 2018年12月21日 1 点赞 1 评论 398 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:无参考代码:#include<stdio.h>int main(){ int a[100],i=0; // 定义 i 既可以记住输入个数 ,还可以用来控制循环,变量多用…… 题解列表 2018年12月21日 1 点赞 0 评论 836 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int count=0,i,j,N,t=0;int ss[100]={0};scanf("%d",&N);for…… 题解列表 2018年12月21日 1 点赞 0 评论 1603 浏览 评分:0.0
C语言"鬼道一开"标准解答!课后习题8.9 (C语言代码) 摘要:解题思路:本题输入一行字符可以使用C语言中的gets()。或者C++ getline(cin,str)判断是否为字母:if((str>='a'&&str<='z')||…… 题解列表 2018年12月21日 1 点赞 0 评论 1115 浏览 评分:0.0