[编程入门]自定义函数之整数处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int swap( int a[]);int main(){int a[10],i;for(i=0;i<10;i++)scanf("%d…… 题解列表 2019年05月04日 1 点赞 0 评论 549 浏览 评分:0.0
[编程入门]自定义函数之数字后移 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void move(int n,int a[],int *m);int main(){int a[100],i,n,m;scanf("%…… 题解列表 2019年05月04日 0 点赞 0 评论 765 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int s1=0,s2=0,s3=0,s4=0,len; char s[10…… 题解列表 2019年05月04日 0 点赞 0 评论 677 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码) 摘要:#include <stdio.h> #include <math.h> /** 这个函数用来求一个数有几位,例如12345有5位。 */ int sizes(int n) {…… 题解列表 2019年05月04日 0 点赞 0 评论 1009 浏览 评分:0.0
[编程入门]分段函数求值 (C语言代码) 摘要:题目描述有一个函数y={ x x<1 | 2x-1 1<=x<10 \ 3x-11 x>=10写一段程序,输入x,输出y输入一个数x输出一个数y样例输入14样例输出31解题…… 题解列表 2019年05月04日 0 点赞 0 评论 916 浏览 评分:0.0
C语言训练-"水仙花数"问题1 (C语言代码) 摘要:解题思路:C++菜鸟注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; int …… 题解列表 2019年05月04日 0 点赞 0 评论 632 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码) 摘要:参考代码:#include<stdio.h>#include<math.h>int f1(int); //返回值为参数位数的函数int main(void){ in…… 题解列表 2019年05月04日 1 点赞 0 评论 729 浏览 评分:0.0
C语言训练-自由落体问题 (C语言代码) 摘要:参考代码:#include<stdio.h>int main(void){ int n; double sum = 0,h=100; scanf("%d", &n); …… 题解列表 2019年05月04日 2 点赞 0 评论 619 浏览 评分:0.0
[编程入门]带参数宏定义练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define fun(m,n) t=m,m=n,n=t;int main(){ int m,n,t; scanf("%d",&m); …… 题解列表 2019年05月04日 0 点赞 0 评论 527 浏览 评分:0.0
[编程入门]宏定义的练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define fun(a,b) t=a%b;int main(){ int a,b,t; scanf("%d",&a); scanf(…… 题解列表 2019年05月04日 0 点赞 0 评论 856 浏览 评分:0.0