C语言训练-阶乘和数* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int go(int i);int jie(int n);int main(){ int i,a,b,c,d,e,j; fo…… 题解列表 2017年08月12日 0 点赞 0 评论 1509 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int a[10]; int i,j,temp,k; for(i=0; i<10; i++) …… 题解列表 2017年08月12日 0 点赞 0 评论 1084 浏览 评分:6.0
小九九 (C语言代码) 摘要:解题思路:双重for循环进乘法计算。第一层乘以第二层,如果第一层的数小于第二层的数那么停止。如果大于或等于那么输出。注意事项:设置好格式后,输出时将第二层与第一层的数字调换,不影响计算结果,也符合题目…… 题解列表 2017年08月14日 0 点赞 1 评论 1452 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路: 在这里我用了if-else if-else嵌套语句,首先,你必须先要理清这道题的思路,注意语句输出的先后顺寻,然后注意一些细节即可。注意事项:参考代码:#include<stdio.h>…… 题解列表 2017年08月21日 10 点赞 13 评论 2666 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:运用scanf和printf来进行解题注意事项:scanf语句不要忘记&参考代码:#include <stdio.h>main(){ int a,b; scanf("%d%d",…… 题解列表 2017年08月23日 0 点赞 2 评论 1080 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:需要输入参数和输出注意事项:需要判断参数的输入大小;参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b…… 题解列表 2017年08月23日 0 点赞 2 评论 1690 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题8.2 (Java代码) 摘要:import java.util.Scanner; //抄别人的 import java.text.DecimalFormat; public class Main { public sta…… 题解列表 2017年08月24日 3 点赞 4 评论 2524 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,i; char c[50]={0}; scanf("%d",&n); g…… 题解列表 2017年08月26日 0 点赞 0 评论 1105 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int a,b; int c;scanf("%d %d",&a,&b);c=a+b;printf("sum=%d",c)…… 题解列表 2017年08月29日 0 点赞 1 评论 965 浏览 评分:6.0
九宫重排 (C++代码) 摘要://使用哈希技术,提高检索效率,哈哈哈 #include<cstdio> #include<cstring> using namespace std; typedef int State[…… 题解列表 2017年08月30日 0 点赞 0 评论 2124 浏览 评分:6.0