简单的a+b (C语言代码) 摘要:解题思路:日常注意事项:无参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d\n",a+b); …… 题解列表 2017年10月22日 0 点赞 0 评论 990 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路:注意事项:用数组不容易做但容易想到,一定要在循环里面定义s的初始值,不然会出事。参考代码:#include<stdio.h>int main(){ int N,n,i,k; sc…… 题解列表 2017年10月22日 1 点赞 0 评论 1068 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h> //emmmmmm... #include <ctype.h> void main() { char s[100]; int …… 题解列表 2017年10月22日 0 点赞 0 评论 1316 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void f(char a[]){ int i; if(a[0]=='1'){ for(i=1;i<1…… 题解列表 2017年10月22日 1 点赞 0 评论 1232 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int b[32]={0},c[32]={0},i,sum=0; int move(int a…… 题解列表 2017年10月22日 0 点赞 0 评论 1080 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int getbits(int a,int n1,int n2){ int b[32]={0…… 题解列表 2017年10月22日 1 点赞 0 评论 928 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main(){ int n,a,b[32]={0},c[32]={0},i,sum=…… 题解列表 2017年10月22日 1 点赞 0 评论 1673 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int i,m,n,a; scanf("%d %d %d",&n,&m,&a); for(i=n…… 题解列表 2017年10月22日 0 点赞 0 评论 1115 浏览 评分:0.0
整除问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int i,m,n,a; scanf("%d %d %d",&n,&m,&a); for(i=n…… 题解列表 2017年10月22日 0 点赞 0 评论 956 浏览 评分:0.0
整数平均值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int average(int n,int a[]){ int sum=0; for(int i=0;i<n;i++){ …… 题解列表 2017年10月22日 0 点赞 0 评论 1215 浏览 评分:0.0