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 评论 816 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串链接 */ #include<stdio.h> void link(char *ch1,char *ch2) { char ch[1000…… 题解列表 2017年10月27日 3 点赞 2 评论 817 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 字符串逆置 */ #include<stdio.h> #include<string.h> void func(char *ch) { int…… 题解列表 2017年10月27日 1 点赞 0 评论 1007 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 矩阵转置 */ #include<stdio.h> #define N 3 void swap(int *a, int *b) { int t…… 题解列表 2017年10月27日 1 点赞 0 评论 837 浏览 评分:0.0
分解质因数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; int s[30]; while(cin>>a>>b…… 题解列表 2017年10月27日 0 点赞 0 评论 1946 浏览 评分:6.2
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:1.写一个input函数,利用结构体指针*p依次赋值,循环由定义的结构体数组stu1和输入的n控制;2.将定义的结构体数组stu1存储步骤1中相应的结构体字段值;3.利用一个if语句去求出三…… 题解列表 2017年10月27日 1 点赞 0 评论 1612 浏览 评分:6.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:#include<stdio.h> #include<string.h> #define N 80 int main() { int i, j; char str[4]…… 题解列表 2017年10月27日 1 点赞 0 评论 817 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:#include<stdio.h> int main() { int x, y , n = 0, i, a[5]; scanf("%d", &x); y = x;…… 题解列表 2017年10月27日 2 点赞 0 评论 925 浏览 评分:0.0
杨辉三角 (C语言代码) 摘要:#include <stdio.h> int main() { int n,nums[30][30],i,o; while (scanf("%d",&n)!=EOF) …… 题解列表 2017年10月27日 0 点赞 0 评论 1032 浏览 评分:0.0
班级人数 (C语言代码) 摘要:#include <stdio.h> int main() { float p,q; int i,cheak; while (scanf("%f%f",&p,&q)!=EOF) {…… 题解列表 2017年10月27日 0 点赞 0 评论 1385 浏览 评分:9.9