C二级辅导-分段函数 (C语言代码) 摘要:#include<stdio.h> int main() { double x; scanf("%lf",&x); if(x<1) printf("%.2f\n",…… 题解列表 2018年05月02日 0 点赞 0 评论 681 浏览 评分: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 评论 672 浏览 评分: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 评论 674 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:/* 2018年5月2日19:13:08 目的: 输入10个数,求它们的平均值,并输出大于平均值的数据的个数。 */ #include <stdio.h> int main (vo…… 题解列表 2018年05月02日 0 点赞 0 评论 730 浏览 评分:2.0
C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:解题思路:注意事项:1、最高分的学生不一定只有一个参考代码:#include<stdio.h> #include<malloc.h> typedef struct _student_info_…… 题解列表 2018年05月02日 0 点赞 0 评论 914 浏览 评分:0.0
优质题解 C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:1、使用结构体指针存储学生信息2、输入数据长度后使用malloc分配存储空间注意事项:参考代码:#include<stdio.h> #include<malloc.h> typede…… 题解列表 2018年05月02日 13 点赞 37 评论 14969 浏览 评分:8.8
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:1、记录一下每个月份的天数,默认使用平年。闰年的话最后再加一天就行。注意事项:参考代码:#include<stdio.h> //关于闰年的宏定义 #define LEAP_YEAR(…… 题解列表 2018年05月02日 0 点赞 0 评论 1095 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:解题思路:1、使用数组模拟2、默认数组值全为1,代表没有被点到。当被点到时,将其值设为0 。3、使用一个for循环来完成上述逻辑。在此过程中记录被点到的人数,当只剩一个人没有被点到的时候结束。注意事项…… 题解列表 2018年05月02日 47 点赞 25 评论 3828 浏览 评分:9.6
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:输出两次,第一次输出正序,第二次逆序输出注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int i; cha…… 题解列表 2018年05月02日 0 点赞 0 评论 1035 浏览 评分:0.0
川哥的吩咐 (Java代码)--java最简单的代码(秒杀) 摘要:解题思路:注意事项:记得导包import java.math.BigInteger;参考代码:public class 川哥的吩咐_水到不能再水 { public static void main(S…… 题解列表 2018年05月02日 0 点赞 1 评论 740 浏览 评分:0.0