WU-C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:参考代码:#include<stdio.h> void input(int N,int a[]) { int i,m,b[100],*p; p=b; for(i=0;i<N;i++)…… 题解列表 2017年12月10日 2 点赞 2 评论 950 浏览 评分:9.3
循环数组做法,有用的话点点赞 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define maxn 105int a[maxn];int b[maxn];int ma…… 题解列表 2017年12月05日 1 点赞 0 评论 1088 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:解题思路:用一组数列处理,数列第一个元素作为缓冲元素,输出从第二个元素开始。注意事项:参考代码:#include<stdio.h>main(){ int a[100]; int i,j,n,m; sc…… 题解列表 2017年11月15日 0 点赞 0 评论 957 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:#include<stdio.h> main() { int a[100],b[100]; int i,m,n; scanf("%d",&n);//输入总个数 …… 题解列表 2017年10月09日 7 点赞 0 评论 1361 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:参考代码:#include<stdio.h>main(){ int a[100],b[100]; int i,m,n; scanf("%d",&n);//输入总个数 for (…… 题解列表 2017年10月09日 1 点赞 0 评论 992 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:解题思路:这是用户海洋之心的代码,我只是加了点注释,可能注释不是很规范易懂注意事项:参考代码:#include<stdio.h>void move(int a[],int n,int m);int m…… 题解列表 2017年09月07日 0 点赞 0 评论 1048 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:#include<stdio.h>int main(){ int a[100],q[100]; int i,n,m; void work(int b[],int q[],int w,int r);…… 题解列表 2017年08月17日 0 点赞 1 评论 978 浏览 评分:0.0
简洁的代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int i, k, a[100], d, b[100]; scanf("%d", &k);//输入多少个数 …… 题解列表 2017年08月06日 2 点赞 3 评论 1687 浏览 评分:9.3
指针做法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>move(int *a,int *b,int m,int n);int main(){ int i,a[1024],b[1024]…… 题解列表 2017年07月25日 3 点赞 0 评论 1246 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:实现还是很简单的,不懂的看看就应该有思路了参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i,j,n,m,a=0,buf1[1…… 题解列表 2017年07月22日 0 点赞 0 评论 1157 浏览 评分:0.0