C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:1、最高分的学生不一定只有一个参考代码:#include<stdio.h> #include<malloc.h> typedef struct _student_info_…… 题解列表 2018年05月02日 0 点赞 0 评论 916 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:#include <stdio.h> int main (void) { int a; scanf("%d",&a); printf("%o\n",a); return 0;…… 题解列表 2018年05月02日 0 点赞 0 评论 675 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:#include<stdio.h> int main() { double f,c; scanf("%lf",&f); c=5*(f-32)/9; printf("…… 题解列表 2018年05月02日 0 点赞 0 评论 674 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:#include<stdio.h> int main() { double x; scanf("%lf",&x); if(x<1) printf("%.2f\n",…… 题解列表 2018年05月02日 0 点赞 0 评论 687 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.5 (C语言代码) 摘要:解题思路:题目比较简单,只要多注意不会错的,记得输入是整数,输出是小数注意事项:参考代码:#include "stdio.h"int main(){//求以下三数的和,保留2位小数 1~a之和 1~b…… 题解列表 2018年05月02日 0 点赞 0 评论 551 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.6 (C语言代码) 摘要:解题思路:注意事项:参考代码1,使用while循环#include "stdio.h"int main(){/*打印出所有"水仙花数",所谓"水仙花数"是指一个三位数,其各位数字立方和等于该本身。 例…… 题解列表 2018年05月02日 0 点赞 0 评论 1068 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>long int fact(int a){ if(a==1) return 1; else return fact(a-1)*a;}…… 题解列表 2018年05月02日 0 点赞 0 评论 699 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define N 10 int main() { int a[N], i, j =0; float ave =…… 题解列表 2018年05月03日 0 点赞 0 评论 1413 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:1、主要就是判断 isprime(x) 的参数是不是素数了,看下面代码就行注意事项:参考代码:#include<stdio.h> #include<math.h> //如果参数是素数…… 题解列表 2018年05月03日 0 点赞 0 评论 690 浏览 评分:0.0
钟神赛车 (Java代码) 摘要:解题思路:注意事项:参考代码:public class 钟神赛车_水到不能再水 { public static void main(String[] args) { // TODO Auto-gen…… 题解列表 2018年05月03日 0 点赞 0 评论 926 浏览 评分:0.0