C语言程序设计教程(第三版)课后习题5.6 (C语言代码) 摘要:#include<stdio.h>int main(){ int a; scanf("%d", &a); if(a>=90) putchar('A'); if(a >= 80&&a…… 题解列表 2017年06月07日 0 点赞 0 评论 1747 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:#include<stdio.h>int main(){ int x, y; scanf("%d", &x); if (x<1) x = y; if (1 <= x&&x<10) y = 2 * …… 题解列表 2017年06月07日 0 点赞 1 评论 828 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:#include<stdio.h>int main() { int max(int m, int n); int a, b, c,m; scanf("%d %d %d", &a, &b, &c); …… 题解列表 2017年06月07日 1 点赞 3 评论 928 浏览 评分:0.0
简单的a+b (C语言代码) 最基本的在线刷题入门,基本输入输出,参考http://www.dotcpp.com/wp/34.html『ACM入门』蓝桥杯ACM训练系统基本输入输出教程 题解列表 2017年06月07日 0 点赞 0 评论 3326 浏览 评分:9.9
蛇行矩阵 (C语言代码) 摘要:#include<stdio.h>int main(){ int i,N,a[100][100],j; while(scanf("%d",&N)!=EOF) { a[0][0]=1; if(1<=…… 题解列表 2017年06月07日 0 点赞 0 评论 1615 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:#include<stdio.h>int main(){ int sun,sum,i,j,k,n,m,c; scanf("%d",&sun); if(sun<10) { …… 题解列表 2017年06月07日 1 点赞 1 评论 1281 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.4 (C++代码) 摘要:#include<iostream> #define LEAP_YEAR(year) ((year % 4 == 0 && year % 100 != 0) || (year % 400 ==…… 题解列表 2017年06月07日 1 点赞 1 评论 3380 浏览 评分:8.0
优质题解 [编程入门]第一个HelloWorld程序!-题解(C语言代码) 应该是初学C语言的第一道题吧,也比较简单,看过helloworld,照猫画虎的用printf就可以了需要注意几个问题:1.*号必须一个不能多也不能少!2.注意格式、换行问题等基本上就没没什么问题了参考代码:```c#includeintmain(){printf("****************** 题解列表 2017年06月07日 245 点赞 170 评论 63689 浏览 评分:9.5
优质题解 简单的a+b (C语言代码) 摘要:这个题属于ACM入门题,初学C语言小白建议从1001开始做,难就难在这个多组输入,需要借助循环和scanf的返回值来实现 有兴趣的同学可以参考 [ACM基本输入输出教程](https://www…… 题解列表 2017年06月07日 226 点赞 58 评论 25586 浏览 评分:8.3
C语言程序设计教程(第三版)课后习题6.1 (C语言代码) 摘要:#include<stdio.h>int gys(int m, int n) { //先定义一个函数求出两个数最大公约数 int a; while (m%n != 0) { a = m%n;…… 题解列表 2017年06月07日 10 点赞 0 评论 4455 浏览 评分:0.0