C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:这样写应该不难理解参考代码:/* 3555555555555 */ #include<stdio.h> void handle(int *arr,char *ch) { …… 题解列表 2017年10月28日 1 点赞 0 评论 935 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码)简单数组循环版 摘要:解题思路:这里提供了数组的解法思路,输入的字符串中包含空格,因而用到了gets(),不过大家也可以思考一下不用数组而用getchar()来做这道题注意事项:定义的量有些多,需要注意到每个量的作用,不过…… 题解列表 2017年12月05日 1 点赞 1 评论 427 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:一定要细心1参考代码:#include <stdio.h> void fun(char ch[],int* a,int* b,int* c,int* d); int mai…… 题解列表 2017年12月09日 0 点赞 0 评论 545 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int letter=0,digit=0,space=0,others=0;void count(char str[]){int i;…… 题解列表 2017年12月17日 0 点赞 0 评论 749 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>using namespace std;int main(){…… 题解列表 2018年01月09日 0 点赞 0 评论 736 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void main(){ char a[1000]; int i,j=0,k=0,l=0,n=0; …… 题解列表 2018年01月12日 0 点赞 0 评论 512 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:shuzu yiding yao kai dayidian !!!!!!参考代码:#include <stdio.h>#include <string.h>#include <ct…… 题解列表 2018年01月18日 0 点赞 0 评论 762 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:数组形式遍历字符串(也可不用数组而是单个字符读入,详情代码可以参考其它题解)注意事项:单纯的scanf()函数不能读入空格,scanf()函数提供的“%[]”格式串可以用来进行多个字符的输入…… 题解列表 2018年01月24日 0 点赞 0 评论 818 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码)(简洁版) 摘要:解题思路:根据ascll码选择字符类型。注意事项:参考代码:/*输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的个数*/#include<stdio.h>int zm=0,sz=0,kg=…… 题解列表 2018年02月18日 0 点赞 0 评论 1102 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int main()…… 题解列表 2018年02月26日 0 点赞 0 评论 871 浏览 评分:0.0