C语言程序设计教程(第三版)课后习题11.5 (C语言代码) 摘要:#include <stdio.h>struct stu{ char name[50], num[50]; int a, b, c;};void input(struct stu *p){ scanf…… 题解列表 2017年08月28日 2 点赞 0 评论 1756 浏览 评分:4.0
简单的a+b (C语言代码) 摘要:解题思路:a+b注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) printf("%d\n…… 题解列表 2017年08月28日 0 点赞 0 评论 856 浏览 评分:0.0
C语言训练-字符串正反连接 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[55]={0}; gets(str); …… 题解列表 2017年08月28日 0 点赞 0 评论 887 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[110]={0}; gets(str); …… 题解列表 2017年08月28日 2 点赞 7 评论 2632 浏览 评分:8.0
C语言训练-列出最简真分数序列* (C语言代码) 摘要:解题思路:分子与分母的最大公约数为1注意事项:参考代码:#include<stdio.h>int gcd(int a,int b);int main(){ int i; for(i=1;i…… 题解列表 2017年08月28日 0 点赞 0 评论 734 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码) 摘要:解题思路:注意事项:就提论题参考代码:#include<stdio.h>int main(){ int num[4]={0},i,j,k; for(i=0;i<4;i++) …… 题解列表 2017年08月28日 13 点赞 0 评论 1678 浏览 评分:2.0
奖学金 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int i[305],j[305],k[305]…… 题解列表 2017年08月28日 10 点赞 0 评论 2396 浏览 评分:0.0
C语言考试练习题_一元二次方程 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,d,x1,x2,t; scanf("%f%f…… 题解列表 2017年08月27日 0 点赞 0 评论 1054 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b;//定义两个变量a,b while(~scanf("%d%d", &a, &b))p…… 题解列表 2017年08月27日 2 点赞 0 评论 1009 浏览 评分:0.0