C语言程序设计教程(第三版)课后习题8.6 (C语言代码)库函数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main(void) { char s[100], s2[100]; …… 题解列表 2018年10月31日 0 点赞 0 评论 647 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码)不要为了写程序而写程序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main(void) { char s[100]; scanf("%s…… 题解列表 2018年10月31日 0 点赞 0 评论 1001 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码)真的很简洁 三行!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(void) { char s[5]; scanf("%s", s); print…… 题解列表 2018年10月31日 0 点赞 1 评论 828 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:解题思路:C标准中有一个头文件<ctype.h>,这里面定义了一批C语言字符处理函数,用于测试字符是否属于特定的字符类别,如字母字符、控制字符、数字、等等;头文件:<ctype.h>函数: …… 题解列表 2018年10月31日 0 点赞 0 评论 1124 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:这里用的二维数组来接收字符串。注意事项:用过scanf()后要用getchar()来接收回车符,要不然就是格式错误,捣鼓了好久……参考代码:#include <stdio.h> int m…… 题解列表 2018年10月31日 4 点赞 0 评论 892 浏览 评分:0.0
弟弟的作业 (C语言代码) 摘要:#include "stdafx.h" //自己运行是正确的,但是验证不通过#include "string.h" &nb 题解列表 2018年10月31日 0 点赞 0 评论 613 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"#define max 1000void reverse(int len, char a[]){ int i,t; …… 题解列表 2018年10月31日 0 点赞 0 评论 718 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:整体的把数字分开用的是输入的数去除10和模10,直接输出,我最为困难的是第二步,不知道如何更简便的输出,所以利用了数组来存储每一个数,在输出的时候注意空格的时候,利用if条件判断,是否即将输…… 题解列表 2018年10月31日 0 点赞 0 评论 647 浏览 评分:0.0
数字整除 (C语言代码) 摘要:#include "stdafx.h"#include "math.h"int f(double n){ int t; char a[100] = { 0 }; t = fmod(n,10); …… 题解列表 2018年10月31日 0 点赞 0 评论 1453 浏览 评分:9.9
汽水瓶 (C语言代码) 摘要:解题思路:1、找出运算规律,用数学方法的规律为input 2 3 4 5 6 7 8 9 10 81output 1 1 2 2 3 3 4 4 …… 题解列表 2018年10月31日 0 点赞 0 评论 549 浏览 评分:0.0