简单的a+b (C语言代码) 摘要:解题思路:用scanf输入;printf输出while使其能多次计算,循环注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(sca…… 题解列表 2017年12月11日 0 点赞 0 评论 984 浏览 评分:0.0
DNA (C语言代码) 摘要:解题思路:把最后一行隔开,讲其他的几行先循环再最后输出最后一行。#include<stdio.h> int main() { int i,j; scanf("%d",&j); f…… 题解列表 2017年12月11日 0 点赞 0 评论 1715 浏览 评分:0.0
我美吗! 摘要:解题思路:由于自己还没学到这所以有所参考,感觉写的还不错!注意事项:参考代码:#include <stdio.h> int yue(int a,int b); //函数声明 int bei(…… 题解列表 2017年12月11日 0 点赞 0 评论 1364 浏览 评分:0.0
我美吗! 解题思路:冒泡法,顾名思义就是把小的泡冒到上面,大的泡沉到下面,最值在中间和其他的值交换;而选择法,是假定了一个最值,所以最值和其他的值的交换就发生在假定最值的地方;注意事项:参考代码:#includeintmain(){inti, 题解列表 2017年12月11日 0 点赞 0 评论 1362 浏览 评分:0.0
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main() { int a; double x,x1; scanf(…… 题解列表 2017年12月11日 0 点赞 0 评论 1330 浏览 评分:0.0
WU-C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:参考代码:#include<stdio.h> struct student { char number[20]; char name[10]; int grade[3]; }; v…… 题解列表 2017年12月11日 2 点赞 0 评论 2458 浏览 评分:8.4
我美吗! 摘要:#include <stdio.h> int main() { long long sn=0,n,i,j,k; scanf("%d",&n); for(i=n;i>0;i--) …… 题解列表 2017年12月11日 1 点赞 0 评论 1876 浏览 评分:0.0
我美吗! 摘要:#include <stdio.h> int main() { int m,n,t; int yue,bei; int m1,n1; //用来储… 题解列表 2017年12月11日 1 点赞 1 评论 1725 浏览 评分:9.0
我美吗! 摘要:#include <stdio.h> int main() { int a[55],n,i; while(scanf("%d",&n)!=EOF) { a[1]=1; a…… 题解列表 2017年12月11日 2 点赞 0 评论 1529 浏览 评分:0.0
汪汪与打针 (C语言代码) 摘要:#include <stdio.h> int main() { int a,b,m=0,n=0; while(scanf("%d%d",&a,&b)!=EOF) { if(a<…… 题解列表 2017年12月11日 0 点赞 0 评论 2147 浏览 评分:0.0