C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:利用数组进行字符的转换。定义两个字符数组,利用循环给第一个数组输入要转换的字符串,然后对字符数组进行遍历,把数组a里面的所有字符加4赋给数组b,最后再利用循环遍历b数组,将b数组里面的字符转…… 题解列表 2017年12月13日 3 点赞 0 评论 968 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2017年12月13日 3 点赞 1 评论 997 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include "stdio.h" double fact(int n); double mypow(double x,int n); int main() {…… 题解列表 2017年12月13日 0 点赞 0 评论 588 浏览 评分: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 评论 399 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:名字和学号用字符串数组存储,然后三个数组分别存储三科成绩,然后一个数组存储每个人的三科成绩的和(因为要求输出分数最大的那个,指的是三科总分.)我这里定义的分数是float型的,可能有更简洁的…… 题解列表 2017年12月13日 2 点赞 0 评论 1138 浏览 评分: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 评论 776 浏览 评分: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 评论 742 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() { int i,n; int j; scanf("%d",&n); for(i=2;i<=…… 题解列表 2017年12月13日 2 点赞 1 评论 387 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() { char a[1000]; int n,i; scanf("%d",&n); getc…… 题解列表 2017年12月13日 0 点赞 0 评论 821 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; scanf("%d",&n); while(n--) { …… 题解列表 2017年12月13日 1 点赞 0 评论 723 浏览 评分:0.0