简单的a+b (C语言代码) 摘要:#include<stdio.h>int main(){ int a,b; printf ("please input two numbers :\n"); while(scanf("%d…… 题解列表 2017年06月11日 0 点赞 0 评论 1112 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:知识基础:函数定义字符数组和字符串答案#include<stdio.h> char fun(char a[],char b[]); char fun(char a[],char b[]){ p…… 题解列表 2017年06月11日 1 点赞 1 评论 894 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.3 (C语言代码) 摘要:解题基础:宏定义思路:代公式答案#include<stdio.h> #include<math.h> #define P(a,b,c) S=(a+b+c)/2; #define Q(a,b,c)…… 题解列表 2017年06月11日 2 点赞 0 评论 1644 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:#include<stdio.h>struct student{char num[100]; char name[100]; int a; int b; int c;}s[100];int i;voi…… 题解列表 2017年06月11日 2 点赞 0 评论 1494 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:题目分析 一圈人说的就是一个循环抽象来说就是一圈循环要T了多少个成员,不妨把T掉的人变为0这样最后输出不为0的即可代码#include<stdio.h> main() { i…… 题解列表 2017年06月17日 43 点赞 16 评论 2072 浏览 评分:0.0
用全局变量,比较简洁的办法 摘要:这边的话没有考虑传参问题,直接用的全局变量,直接修改数组内容就可以了。#include<stdio.h> int a[10];int max, min;void input(){ int i =…… 题解列表 2017年06月12日 0 点赞 0 评论 1209 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:#include <stdio.h>int main(){ int a,b; printf("请任意输入两个数a和b:"); while(scanf("%d%d",&a,&b)==2) pri…… 题解列表 2017年06月12日 1 点赞 0 评论 868 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:#include<stdio.h> int a[100];void fun(int n, int k){ int i; for (i = n + k -1; i >= k; i--) …… 题解列表 2017年06月12日 0 点赞 0 评论 1592 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:#include<stdio.h>int main(){ char a[100],b[100]; int i=0,j=0; gets(a); gets(b); while…… 题解列表 2017年06月12日 0 点赞 0 评论 949 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:题目分析 训练选择法 什么是选择法?选择发就是选择一个先锁定位置让后正序或者倒序的数安列排放代码#include<stdio.h> #include<stdlib.h> #define …… 题解列表 2017年06月12日 0 点赞 0 评论 1096 浏览 评分:0.0