C语言程序设计教程(第三版)课后习题6.11 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { float x1,x2,a; scanf("%f",&a);…… 题解列表 2017年08月10日 0 点赞 0 评论 1108 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,a[10],k=0; float sum=0,avr; for(i=0;i<10…… 题解列表 2017年08月10日 0 点赞 0 评论 1512 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (void){ int i , j , n , m , a[5] = {0}; i = m = 0;// prin…… 题解列表 2017年08月10日 1 点赞 0 评论 1234 浏览 评分:0.0
C语言训练-舍罕王的失算 (C语言代码) 摘要:解题思路:注意事项:long long 都不行,但是用double可以参考代码:#include<stdio.h>int main(){ double i,k,sum; sum=0; …… 题解列表 2017年08月11日 2 点赞 1 评论 1301 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路: 其实完全不用输入数字后再计算每位的数字,直接利用字符输入简化。注意事项: (一)、输入的不是数字的时候 (二)、输入大于5位的时候参考代码:#include…… 题解列表 2017年08月11日 0 点赞 0 评论 1228 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j,t; int a[10]; for(i=0;i<10;i++) scan…… 题解列表 2017年08月11日 0 点赞 0 评论 1254 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j,a[3][3],s1,s2; for(i=0;i<3;i++) for(j…… 题解列表 2017年08月11日 0 点赞 0 评论 1322 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,t; int a[10]; for(i=0;i<9;i++) scanf("…… 题解列表 2017年08月11日 0 点赞 0 评论 1225 浏览 评分:0.0
C语言训练-计算t=1+1/2+1/3+...+1/n (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double t; int n,i; t=0; scanf("%d",&n); f…… 题解列表 2017年08月12日 0 点赞 0 评论 1003 浏览 评分:0.0
C语言训练-邮票组合问题* (C语言代码)...... 摘要:解题思路:没考虑重复的数。。。。。。。0竟然不算。。。。。尴尬注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a; a=0; for(i…… 题解列表 2017年08月12日 0 点赞 0 评论 1108 浏览 评分:0.0