C语言程序设计教程(第三版)课后习题6.6 (Java代码) 摘要:解题思路:注意事项:如果看的话建议复制粘贴放到eclipse后ctrl+shit+f键整理代码。这样就看的清楚了。 在这里我写的代码都是有格式的,但是系统把代码格式变成默认的,看的话不方…… 题解列表 2018年08月14日 1 点赞 0 评论 908 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x;if((x%8==1)&&((x/8)%8==1)&&(((x/8)/8)%8==7)&&((((x…… 题解列表 2018年08月14日 0 点赞 0 评论 710 浏览 评分:0.0
C语言训练-亲密数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int ISqinmi(int n,int m);int main(){ int i,j; for(i=220;i<3000;i++) …… 题解列表 2018年08月14日 0 点赞 0 评论 842 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){int n=0,s=0,a[10],i,t;for(i=0;i<10;i++)scanf("%d",&a[i]);for(…… 题解列表 2018年08月15日 0 点赞 0 评论 759 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){int i;for(i=10;i<1000;i++){if(i%2==0&&i%3==0&&i%7==0)printf("…… 题解列表 2018年08月15日 0 点赞 0 评论 974 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C++代码) 摘要:解题思路:注意事项:有点c的c++代码,涉及结构数组,结构数组成员数组,结构指针。参考代码:#include <iostream>using namespace std;struct Student{…… 题解列表 2018年08月15日 0 点赞 0 评论 1521 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:抓住单位“1”就好做多啦注意事项:参考代码:#include<stdio.h>int main(){ int a=1,n,i; scanf("%d",&n); for(i=1;i<n;…… 题解列表 2018年08月15日 1 点赞 0 评论 677 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:代码的空间是个大问题。参考代码:#include<stdio.h>int main(){ char x; int i,item=10000,number,size;//x用来…… 题解列表 2018年08月15日 1 点赞 0 评论 1089 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:注意空格和换行参考代码:#include <stdio.h> int main(){ int n; scanf("%d", &n); //printf…… 题解列表 2018年08月15日 0 点赞 0 评论 876 浏览 评分:0.0
C语言训练-计算1977!* (C语言代码)大数乘法应用,运用三个数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define m 9999void main(){ int a[m]={0},b[m]={0},d[m]={0}; a[0]=2;d[…… 题解列表 2018年08月15日 1 点赞 1 评论 470 浏览 评分:0.0