题解列表
负值 平均值 正值 代码
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[20]; float b=0; int c=0; double j=0; ……
1044题 : 三个字符串的排序
摘要:# 自己写的代码(没有写完,代码不好)
```c
#include
#include
int main()
{
char a[20],b[20],c[20];
get……
1043题 : 三个数字的排序
摘要:# 自己写代码
```c
#include
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a>b){
……
1042题 :电报加密
摘要:# 自己写的代码
```c
#include
#include
int main()
{
char a[20];
gets(a);
int len;
len=strlen……
[编程入门]求和训练(一次循环实现)[C语言代码]
摘要:解题思路: 思路:for循环的条件判断这里,可以很好的利用下,for(double i=1; i<=a||i<=b||i<=c; i++) 逻辑或判断可……
[编程入门]阶乘求和
摘要:解题思路: t记录算出的当前数的阶乘,(n-1)!*n=n! s是各个数的阶乘的和。 注意事项: 注意结果类型,不要溢出。参考代码: