查找最大元素 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[100]; int i; while(gets(str)!=NULL) …… 题解列表 2018年04月24日 2 点赞 0 评论 1827 浏览 评分:0.0
蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( ){ int a, s, e, r, t,y,u,i,p; scanf("%d", &a); for (s=1,u…… 题解列表 2018年04月24日 0 点赞 0 评论 660 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路和注意事项:很简单的一道题啊首先定义一个长度为10数组,然后一个for循环输入10个数;然后从第十个数开始倒着输出就可以了;需要注意的是数组下标是从0开始,所以倒着输出的第一个下标应该为9.参…… 题解列表 2018年04月24日 1 点赞 0 评论 1273 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int gcd(int a,int b) { if(b==0) return a; retu…… 题解列表 2018年04月24日 0 点赞 0 评论 1303 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,j,n; scanf("%d",&n); for(i=2; i<=n; i++)…… 题解列表 2018年04月24日 0 点赞 0 评论 1326 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:小白式题解,主要使用int整形变量的使用规则提取位数并分别存到各变量:ge,shi,bai,qian,wang。再进行输出注意事项:参考代码:#include<stdio.h>int mai…… 题解列表 2018年04月24日 3 点赞 0 评论 818 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float s; float v; scanf("%f",&s); v=3.1415*s*s; printf("…… 题解列表 2018年04月24日 0 点赞 0 评论 727 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float s; float v; scanf("%f",&s); v=3.1415*s*s; printf("…… 题解列表 2018年04月24日 0 点赞 0 评论 677 浏览 评分:0.0
程序员的表白 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k; while(scanf("%d",&k)==1) { for(int i=0;i<k;i++) …… 题解列表 2018年04月24日 0 点赞 0 评论 659 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){float s,v;scanf("%f",&s);v=3.1415*s*s;printf("%.2f\n",v);…… 题解列表 2018年04月24日 0 点赞 0 评论 550 浏览 评分:0.0