C语言训练-求函数值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int f(int x){ if…… 题解列表 2018年04月22日 0 点赞 0 评论 615 浏览 评分:0.0
C语言训练-阶乘和数* (Java代码)逗比答案 摘要:解题思路:abcde分别代表个十百千万注意事项:如何输出排序?原有数组处理后比较,再输出参考代码:public class m { public static void main(String ar…… 题解列表 2018年04月22日 0 点赞 0 评论 688 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:写一个死循环,一直输入数字,当不是-1的时候判断,max和num的大小,如果num大则max=num;如果等于-1,退出循环。注意事项:参考代码:#include <stdio.h>int …… 题解列表 2018年04月22日 0 点赞 0 评论 468 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){int a ,b ;printf("enter a , b:") ;scanf ("%d",a,b):int…… 题解列表 2018年04月23日 0 点赞 0 评论 533 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:###注意事项:符号别写漏参考代码:#includeint main (){ int a,b,c; c=a+b; printf("%d\n",c);} …… 题解列表 2018年04月23日 0 点赞 0 评论 640 浏览 评分:0.0
【亲和数】 (C语言代码)------------C语言——菜鸟级 摘要:解题思路:题简单就不说 看代码 注意事项:参考代码:#include<stdio.h> int qhs(long int a,long int b) { long int i,t,sum=0; …… 题解列表 2018年05月16日 2 点赞 0 评论 947 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>const int maxn =1e2+10;using namespace std;int nixu(int a)//逆序{ …… 题解列表 2018年04月23日 0 点赞 0 评论 615 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:算前n项的值我们可以用递归来做请详见代码。注意事项:参考代码:#include <stdio.h>double Ri(int nlm, int c, int n);int main(){ i…… 题解列表 2018年04月23日 0 点赞 0 评论 686 浏览 评分:0.0
C语言训练-亲密数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int A,B,s1=0,s2=0,i,j; for(A=1;A<=3000;A++) { …… 题解列表 2018年04月23日 0 点赞 0 评论 525 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( ){ int a; for (a = 10;a <= 1000;a++) { if ((a % 2 == 0 &…… 题解列表 2018年04月23日 1 点赞 0 评论 510 浏览 评分:0.0