C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:两种思路,你可把数字看成是字符串,还可以看成int数据注意事项:参考代码:(1)看成是字符串: #include<stdio.h>void Print(char* a);int…… 题解列表 2017年10月08日 0 点赞 0 评论 1048 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:两种思路: (1)将四位数字看成是字符串 (2)将这个四位数就是数字int型的注意事项:参考代码:(1)将这个四位数看成是数字: #incl…… 题解列表 2017年10月08日 0 点赞 0 评论 1173 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.10 (C语言代码) 摘要:解题思路:字符串处理问题,将那个字符指针弄好就行了注意事项:参考代码:#include<stdio.h>#include<string.h>void jiami(char *p,int len);in…… 题解列表 2017年10月08日 0 点赞 0 评论 1108 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:解题思路:目标题目的意思,是要求我们写两个函数(一个是main()函数,另外一个是insertblank()函数)。要往输入的字符串里面每两个值之间插入空格,我们首先得把数据从第二位依次往后移动一个位…… 题解列表 2017年10月09日 2 点赞 0 评论 1895 浏览 评分: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 评论 909 浏览 评分: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 评论 1256 浏览 评分:0.0
【明明的随机数】 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int num; int a[100]; int i,j; int temp=0; int tt; scanf…… 题解列表 2017年10月09日 0 点赞 0 评论 1232 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:题目简单,都没人写 题解注意事项:参考代码:#include<stdio.h>int main(){ int m,n,sum,i,a,b; while(scanf("%d%d",…… 题解列表 2017年10月09日 0 点赞 0 评论 994 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio>#include<cstring>using namespace std;int main() { int i,zm=0,sz=0,kg=…… 题解列表 2017年10月09日 0 点赞 0 评论 1109 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(void){ printf("**************************\n"); printf(…… 题解列表 2017年10月09日 0 点赞 0 评论 900 浏览 评分:0.0