C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,temp,x,y,a; scanf("%d%d",&m,&n); if(m<n…… 题解列表 2017年08月12日 1 点赞 3 评论 2356 浏览 评分:9.8
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,c,b; float x,sum; c=b=sum=0; int a[20]…… 题解列表 2017年08月12日 0 点赞 0 评论 809 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; for(i=10;i<1000;i++) { if(i%2==0&…… 题解列表 2017年08月12日 0 点赞 0 评论 750 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum; scanf("%d",&n); sum=n*(3*n+1)/2; …… 题解列表 2017年08月12日 0 点赞 0 评论 806 浏览 评分:8.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,sum; int a[100]; sum=0; scanf("%d",&…… 题解列表 2017年08月12日 1 点赞 0 评论 880 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (Java代码) 摘要:解题思路:注意事项:用java写这题的难题就是小数点,用DecimalFormat方法解决,如代码。参考代码:import java.text.DecimalFormat;import java.ut…… 题解列表 2017年08月12日 1 点赞 0 评论 1560 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x; scanf("%f",&x); if(x<1) printf("%.2f",…… 题解列表 2017年08月12日 0 点赞 0 评论 869 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); printf("%o",n);}…… 题解列表 2017年08月12日 0 点赞 0 评论 729 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; int i; for(i=0;i<10;i++) { …… 题解列表 2017年08月12日 0 点赞 0 评论 866 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int a[9]; int temp,m,i; for(i=0; i<9; i++) { …… 题解列表 2017年08月12日 0 点赞 0 评论 954 浏览 评分:0.0