[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){ char c1,c2,c3,c4,c5; c1='C'; c2='h'; c3=…… 题解列表 2021年08月04日 0 点赞 0 评论 263 浏览 评分:0.0
字符转换为数字入门必看 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main () { char a[11]; int i,sum =0,av…… 题解列表 2021年08月04日 0 点赞 6 评论 451 浏览 评分:6.0
计算两点间的距离简单明了 摘要:解题思路:利用两点间的距离公式求解。注意事项:无参考代码:#include<stdio.h>#include<math.h>int main(){ int x1,y1,x2,y2; int t1,t2…… 题解列表 2021年08月04日 0 点赞 0 评论 428 浏览 评分:9.9
题解 1224: 整除的尾数 摘要:参考代码:#include<stdio.h>#include<string.h>int main(){ int x,y; while(scanf("%d%d",&x,&y)!=EOF){ …… 题解列表 2021年08月04日 0 点赞 0 评论 194 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码)(简便) 摘要:解题思路:定义三字符数组,在第一个输入的数组中判断字符串中是否有第三组的元音字母,如果有则输入第二个数组。最后调用输出即可。注意事项:遇'\0'结束,strlen()长度从1开始的参考…… 题解列表 2021年08月03日 0 点赞 0 评论 381 浏览 评分:0.0
编写题解 1955: 贷款计算(c语言代码) 摘要:```c #include int main() { double a,b,c; int s; scanf("%lf%lf%lf",&a,&b,&c); s=a*10000/c+a*10…… 题解列表 2021年08月03日 0 点赞 0 评论 324 浏览 评分:0.0
编写题解 1954: 话费计算 摘要:#```c #include int main() { float x; scanf("%f",&x); printf("%.1f",50+x*0.4); …… 题解列表 2021年08月03日 0 点赞 0 评论 245 浏览 评分:0.0
水仙花数判断 摘要:解题思路: 1.求水仙花数的关键是对个位上的数、十位上的数和百位上的数的寻找 1.1求个位上的数可以直接该数字对10取余。即为个位上的数 题解列表 2021年08月03日 0 点赞 0 评论 353 浏览 评分:8.0
编写题解 1172: 计算两点间的距离 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { double x1,x2,y1,y2,a,b; while(…… 题解列表 2021年08月03日 0 点赞 0 评论 448 浏览 评分:0.0
编写题解 1156: C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,x,y,result; for(i=2;i<=1000;i++)//for循环遍历大…… 题解列表 2021年08月03日 0 点赞 0 评论 214 浏览 评分:0.0