C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:就这样吧注意事项:参考代码:#include"stdio.h"int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a<b…… 题解列表 2017年10月28日 0 点赞 0 评论 775 浏览 评分:0.0
JAM计数法 (C语言代码) 摘要:#include <stdio.h> //虽然没人看 int main() { char lower[27]={"abcdefghijklmnopqrstuvwxyz"},first[3…… 题解列表 2017年10月28日 1 点赞 0 评论 1067 浏览 评分:0.0
printf基础练习 (C语言代码) 摘要:解题思路:1.首先确定8,16进制在C语言中的表示符号:%o,%x。 2.确定正常情况下如何表示8,16进制:0+数字;0x+数字。 3.所以在编写时就有:printf("0%o 0x…… 题解列表 2017年10月28日 3 点赞 1 评论 2484 浏览 评分:7.3
简单的a+b (C语言代码) 摘要:解题思路:#include <stdio.h>#include <stdib.h>{ int a=100,b=50; system ("pause"); puts("y=a+b%d/n,a,…… 题解列表 2017年10月28日 0 点赞 0 评论 708 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int fangxu(char *a,char *b){ int i=0,l,j; l=strl…… 题解列表 2017年10月28日 0 点赞 0 评论 872 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int zhuanzhi(int *a, int m, int n){ int sa[m][n]; int i, j; for (i …… 题解列表 2017年10月27日 0 点赞 0 评论 889 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:思路很简单的,看一下就能懂注意事项:参考代码:#include <stdio.h>int sushu(int a){ int i; int flag=0; for (i = 2; i <= …… 题解列表 2017年10月27日 0 点赞 0 评论 826 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:if判断注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d", &a, &b, &c); if(…… 题解列表 2017年10月27日 0 点赞 0 评论 783 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串链接 */ #include<stdio.h> void link(char *ch1,char *ch2) { char ch[1000…… 题解列表 2017年10月27日 3 点赞 2 评论 758 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串逆置 */ #include<stdio.h> #include<string.h> void func(char *ch) { int…… 题解列表 2017年10月27日 1 点赞 0 评论 955 浏览 评分:0.0