C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:结果正确,貌似执行的时候有点问题,希望大神指点参考代码:#include<stdio.h>#include<math.h>double a,b,c,p,q;float shiroo…… 题解列表 2018年04月11日 0 点赞 0 评论 1102 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c,max;scanf("%d%d%d",&a,&b,&c);if(a>b){ max=a; if…… 题解列表 2018年04月11日 0 点赞 0 评论 681 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:注意:写a[5]时注意里面字符要有单引号,输出要用%c。参考代码:#include<stdio.h>int main(){int a[5]={'C','h&…… 题解列表 2018年04月11日 0 点赞 0 评论 1037 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int x,y;scanf("%d",&x);if(x<1){y=x;printf("%d",y);}else i…… 题解列表 2018年04月11日 0 点赞 0 评论 660 浏览 评分:0.0
开心的金明 (C语言代码) 摘要:解题思路:背包问题注意事项:参考代码:#include<stdio.h>int sum[25][30100]; int max(int a,int b){ if(a>b) { return a; }…… 题解列表 2018年04月11日 0 点赞 0 评论 758 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; scanf("%d",&i); printf("0%o %d 0x%x\n",i,…… 题解列表 2018年04月12日 0 点赞 0 评论 700 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:非常传统的直接过程注意事项:参考代码:#include<stdio.h>int main(){ int m; int n[100]; int i; for(i=0;i…… 题解列表 2018年04月12日 0 点赞 0 评论 959 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (Java代码) 摘要:解题思路:注意事项:个人认为,此例题的答案应该是4 1 1; 因为数组的下标是从0开始的;参考代码:import java.util.Scanner;public class Ma…… 题解列表 2018年04月12日 1 点赞 0 评论 966 浏览 评分:0.0
弟弟的作业 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[20]; int answer=0; while(scanf("%s",&…… 题解列表 2018年04月12日 0 点赞 0 评论 714 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.12 (C语言代码)思路清晰,代码工整!从a链表中删去b链表中有相同学号的那些节点 摘要:参考代码如下:#include <stdio.h> #include <stdlib.h> //定义一个学生结构体 typedef struct Student { int i…… 题解列表 2018年04月13日 1 点赞 1 评论 945 浏览 评分:0.0