[编程入门]自定义函数之字符类型统计 (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 评论 982 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码) 摘要:#include <stdio.h> #include <math.h> /** 这个函数用来求一个数有几位,例如12345有5位。 */ int sizes(int n) { …… 题解列表 2019年05月04日 0 点赞 0 评论 1473 浏览 评分: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 评论 1235 浏览 评分:0.0
C语言训练-"水仙花数"问题1 (C语言代码) 摘要:解题思路:C++菜鸟注意事项:参考代码:#include<iostream>using namespace std;int main(){ int x,y; cin>>x; int …… 题解列表 2019年05月04日 0 点赞 0 评论 912 浏览 评分:0.0
C语言训练-自守数问题 (C语言代码) 摘要:参考代码:#include<stdio.h>#include<math.h>int f1(int); //返回值为参数位数的函数int main(void){ in…… 题解列表 2019年05月04日 1 点赞 0 评论 999 浏览 评分: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 评论 826 浏览 评分: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 评论 740 浏览 评分: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 评论 1158 浏览 评分:0.0
C语言训练-计算一个整数N的阶乘 (C语言代码) 摘要:参考代码:#include<stdio.h>int main(void){ double sum = 1; int n; scanf("%d", &n); for (i…… 题解列表 2019年05月04日 1 点赞 0 评论 1051 浏览 评分:0.0
怎么说题没有看懂,看输入输出猜对了做法 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2019年05月04日 0 点赞 0 评论 1294 浏览 评分:0.0