编写题解 1156: C语言训练-阿姆斯特朗数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i,x,y,result; for(i=2;i<=1000;i++)//for循环遍历大…… 题解列表 2021年08月03日 0 点赞 0 评论 616 浏览 评分:0.0
编写题解 1172: 计算两点间的距离 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { double x1,x2,y1,y2,a,b; while(…… 题解列表 2021年08月03日 0 点赞 0 评论 1033 浏览 评分:0.0
编写题解 1954: 话费计算 摘要:#```c #include int main() { float x; scanf("%f",&x); printf("%.1f",50+x*0.4); …… 题解列表 2021年08月03日 0 点赞 0 评论 651 浏览 评分: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 评论 771 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码)(简便) 摘要:解题思路:定义三字符数组,在第一个输入的数组中判断字符串中是否有第三组的元音字母,如果有则输入第二个数组。最后调用输出即可。注意事项:遇'\0'结束,strlen()长度从1开始的参考…… 题解列表 2021年08月03日 0 点赞 0 评论 785 浏览 评分:0.0
题解 1224: 整除的尾数 摘要:参考代码:#include<stdio.h>#include<string.h>int main(){ int x,y; while(scanf("%d%d",&x,&y)!=EOF){ …… 题解列表 2021年08月04日 0 点赞 0 评论 597 浏览 评分:0.0
[编程入门]密码破译 摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){ char c1,c2,c3,c4,c5; c1='C'; c2='h'; c3=…… 题解列表 2021年08月04日 0 点赞 0 评论 679 浏览 评分:0.0
C语言排序问题 摘要:解题思路:xxxxxxx注意事项:xxxxxxxxx参考代码:#include<stdio.h>void main(){ int a[10],i,j,temp; for(i=0;i<10;i++) {…… 题解列表 2021年08月07日 0 点赞 0 评论 701 浏览 评分:0.0
数组结构体时间设计 摘要:#include<stdio.h>typedef struct today{ int year; int month; int day;}today;int main(){ today date; i…… 题解列表 2021年08月07日 0 点赞 0 评论 567 浏览 评分:0.0
[编程入门]C语言训练-"水仙花数"问题1-题解(C语言代码) 摘要:解题思路:char数组赋值给int类型pow(x,y)计算立方参考代码:#include<stdio.h>#include<math.h>void waterF(char a[]){ int i,j;…… 题解列表 2021年08月07日 0 点赞 0 评论 713 浏览 评分:0.0