C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int a,b,c; scanf("%d%d",&a,&b); for(c=…… 题解列表 2018年07月25日 0 点赞 0 评论 749 浏览 评分:0.0
汪汪与洋洋 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k; int a,b; a=b=0; for(i=1;i<=6;i++) { for(j=1;…… 题解列表 2018年07月25日 0 点赞 0 评论 1704 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:通过指针来传递字符串注意事项:参考代码:#include<stdio.h>int *fun(char *p ){ int str[4] = { 0 }; while (…… 题解列表 2018年07月25日 0 点赞 0 评论 785 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C语言代码)就是要用while结构求解!!! 摘要:解题思路:1、定义一个变量 n用来存放键盘输入的值。2、定义一个X轴循环起点i=2,当i<=n时,每个i值都要除以从i到i-1的每个数。选择while结构执行X轴循环。3、定义一个Y轴循环起点j=1,…… 题解列表 2018年07月25日 1 点赞 0 评论 1242 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; while(scanf("%d",&i)!=EOF) { printf("%d*%d*%d=%d…… 题解列表 2018年07月25日 0 点赞 0 评论 726 浏览 评分:0.0
【亲和数】 (Java代码) 摘要:解题思路: 1.用变量保存输入的两个数字 2.取出其中一个数字,从1开始到这个数字循环取模,如果能够整除就累加 3.如果累加的结果正好等于另一个数字,就可以输出 YES 4.…… 题解列表 2018年07月25日 2 点赞 0 评论 1471 浏览 评分:0.0
蓝桥杯算法提高VIP-班级排名 (C++代码) 摘要:写了很久这题,一直没看到时总分的排名,提交一直错误,读了好几遍题目才看到#include"iostream" #include "string" #include "algorithm" usi…… 题解列表 2018年08月05日 1 点赞 0 评论 978 浏览 评分:0.0
蓝桥杯算法提高- c++_ch02_03 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <iomanip>using namespace std;int main ()…… 题解列表 2018年07月26日 0 点赞 0 评论 1535 浏览 评分:0.0
蓝桥杯算法提高- c++_ch03_02 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void) { int a[100][100]; //用二位数组储存元素 …… 题解列表 2018年07月26日 1 点赞 0 评论 1898 浏览 评分:0.0
成绩等级转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <iomanip>using namespace std;int main ()…… 题解列表 2018年09月15日 0 点赞 2 评论 689 浏览 评分:0.0