拆分位数 (C语言代码) 摘要:解题思路:#include<stdio.h>int main(){ int a,b,c,x; scanf("%d",&x); a = x%10; \\将x取10的余数,余数一定是个…… 题解列表 2017年11月03日 0 点赞 0 评论 690 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,k; double a,b,c,b1,sum1=0,sum2=0…… 题解列表 2017年11月03日 0 点赞 0 评论 748 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[20];char b[20]; gets(a); int…… 题解列表 2017年11月03日 0 点赞 0 评论 706 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:该题有很多答案是正确的,但是答案显示错误,这是从其他地方借鉴来的参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n,…… 题解列表 2017年11月03日 0 点赞 0 评论 1428 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){ int i,j,t=0,e=0; int a[3][3]; for(i=0;i<3;i++) …… 题解列表 2017年11月03日 0 点赞 0 评论 659 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"main(){int n,x,y,z,i;int a[100];printf("请您输入年数n:\n");scanf("%d",&n)…… 题解列表 2017年11月03日 0 点赞 0 评论 681 浏览 评分:0.0
小O的数字 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int a[10];void one_1(void){ cout<<" *";}void t…… 题解列表 2017年11月03日 0 点赞 0 评论 1322 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:1.先定义一个初始值d=2,然后再在循环(计算n项求和)中依次去计算求和以及公差d+=3操作.注意事项:参考代码:#include<stdio.h>int main(){ int i,…… 题解列表 2017年11月03日 1 点赞 0 评论 1054 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num,indiv,ten,hundred,thousand,ten_thousand,place; s…… 题解列表 2017年11月03日 0 点赞 0 评论 969 浏览 评分:0.0
小O的乘积 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int M=100000;int a[M];…… 题解列表 2017年11月03日 0 点赞 0 评论 722 浏览 评分:0.0