C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0; int num1=0, num2=0, num3=0, num4=0; char str;…… 题解列表 2017年12月16日 0 点赞 0 评论 691 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.1 (C语言代码) 摘要:解题思路:首先我们需要知道什么叫素数,1,素数:指除了1和本身能整出的数就叫素数。注意事项:b每次循环需要归0一次;因为除0外任何数都能被1整除,所以我们直接跳过1;定i j 的值为2;参考代码#in…… 题解列表 2017年12月16日 0 点赞 0 评论 888 浏览 评分:0.0
WU-字符逆序 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> int main() { char str[100]; int i; gets(str); f…… 题解列表 2017年12月16日 4 点赞 0 评论 1232 浏览 评分:0.0
蛇行矩阵 (C语言代码) 摘要:#include <stdio.h> int main(void) { int n, i, j, k, s, m; while (scanf("%d", &n) != EOF) { …… 题解列表 2017年12月16日 89 点赞 2 评论 1349 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <string.h>int main(){ char s[80]; i…… 题解列表 2017年12月16日 0 点赞 0 评论 767 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>#include <string.h>void f(char s[],char b[]){ i…… 题解列表 2017年12月16日 0 点赞 0 评论 722 浏览 评分:0.0
The 3n + 1 problem (C语言代码) 摘要:#include <stdio.h> int main(void) { int i, j, k, max, n, len, t; while (scanf("%d%d", &i, &j) …… 题解列表 2017年12月16日 77 点赞 9 评论 1663 浏览 评分:9.0
C语言程序设计教程(第三版)课后习题8.4 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main1030 { public static void main(String[] args) { …… 题解列表 2017年12月16日 0 点赞 0 评论 846 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:为什么不行???参考代码:#include <iostream>using namespace std;int gcd(int x , int y){ if(!y)return x; re…… 题解列表 2017年12月16日 0 点赞 0 评论 833 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int a[100],n,sum; while(scan…… 题解列表 2017年12月16日 1 点赞 0 评论 1039 浏览 评分:0.0