The 3n + 1 problem (C语言代码) 摘要:解题思路:好吧,承认自己英语阅读能力菜的抠脚,CE了两次,才发现这句话,you are to determine the maximum cycle length over all numbers b…… 题解列表 2017年12月13日 0 点赞 0 评论 841 浏览 评分:0.0
去掉空格 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10000],b[10000],i,j; while(gets…… 题解列表 2017年12月13日 0 点赞 0 评论 1185 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>voiod main(){char a[100];int i,j;gets(a);j=strlen(…… 题解列表 2017年12月13日 0 点赞 0 评论 668 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:利用数组进行字符的转换。定义两个字符数组,利用循环给第一个数组输入要转换的字符串,然后对字符数组进行遍历,把数组a里面的所有字符加4赋给数组b,最后再利用循环遍历b数组,将b数组里面的字符转…… 题解列表 2017年12月13日 3 点赞 0 评论 955 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2017年12月13日 3 点赞 1 评论 991 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include "stdio.h" double fact(int n); double mypow(double x,int n); int main() {…… 题解列表 2017年12月13日 0 点赞 0 评论 581 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int ctof(int c); int main() { int c; for(c=-100;c<=150;c+=5…… 题解列表 2017年12月13日 0 点赞 1 评论 396 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:名字和学号用字符串数组存储,然后三个数组分别存储三科成绩,然后一个数组存储每个人的三科成绩的和(因为要求输出分数最大的那个,指的是三科总分.)我这里定义的分数是float型的,可能有更简洁的…… 题解列表 2017年12月13日 2 点赞 0 评论 1129 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include <stdio.h>void test(int a,int brr[],int c,int drr[]);int main(){ int n,m,…… 题解列表 2017年12月13日 0 点赞 0 评论 758 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:题目说的很明白注意事项:1不是素数参考代码:#include <stdio.h>int isPrime(int a);int main(){ int m,n,i,temp,sum=0;…… 题解列表 2017年12月13日 0 点赞 0 评论 733 浏览 评分:0.0