C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ float a,b,c,d,x[…… 题解列表 2018年09月09日 0 点赞 0 评论 894 浏览 评分:0.0
循环入门练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=0; int sum=0; for(i=1;i<1000;i++) { i…… 题解列表 2018年09月10日 1 点赞 1 评论 872 浏览 评分:0.0
蓝桥杯算法提高VIP-输出正反三角形 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int m,n; int i,j; scanf("%…… 题解列表 2018年09月10日 0 点赞 0 评论 636 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf ("%d%d",&a,&b); printf ("%d",a+b…… 题解列表 2018年09月10日 0 点赞 0 评论 563 浏览 评分:0.0
蓝桥杯算法提高VIP-理财计划 (C语言代码) 摘要:解题思路:注意复利,下一个月的钱为newmoney=newmoney+money注意事项:参考代码:#include <stdio.h> int main() { int money,mont…… 题解列表 2018年09月10日 0 点赞 0 评论 1006 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意八进制和十进制的区别就行了,这是一道基础题注意事项:%d是十进制,%o是八进制参考代码:#include<stdio.h>int main(){ int n; scanf("%d"…… 题解列表 2018年09月11日 0 点赞 0 评论 769 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:首先建立一个数组,将现有的数按照顺序输入进数组内,再将数组内的数倒叙输出即可。注意事项:数组是从0开始计算的。参考代码:#include<stdio.h>int main(){ int a[…… 题解列表 2018年09月11日 1 点赞 0 评论 784 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 (C语言代码) 摘要:解题思路:x/21: 来表示20以内的数;超过部分用求余 x%21 来表示; 用得到的数的大小表示 a[i]中的 i 的值,从而表示出字符串 char a[21][10]={"zero","on…… 题解列表 2018年09月11日 10 点赞 0 评论 1296 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:很简单的题目,题目修改后就可以通过了。注意事项:参考代码:#include <string.h> #include<stdio.h> #include<conio.h> void fu…… 题解列表 2018年09月12日 2 点赞 0 评论 891 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,max,min,i=1; scanf("%d %d",&a,&b); for(…… 题解列表 2018年09月11日 0 点赞 0 评论 555 浏览 评分:0.0