题解 1056: 二级C语言-温度转换(C) 摘要:解题思路:注意数据类型用float最后输出正确的格式即可。参考代码:#include<stdio.h> int main(void){ float F,C; scanf("%f",&F)…… 题解列表 2022年08月09日 0 点赞 0 评论 553 浏览 评分:0.0
题解 1057: 二级C语言-分段函数(C) 摘要:解题思路:if嵌套选择即可解决参考代码:#include<stdio.h> int main(void){ float x,y; scanf("%f",&x); if(x<1)…… 题解列表 2022年08月09日 0 点赞 0 评论 589 浏览 评分:0.0
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:用strcat()函数注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100…… 题解列表 2022年08月09日 0 点赞 0 评论 400 浏览 评分:0.0
1071——————阶乘公式求职 摘要: n=int(input()) t=1 s=0 for i in range(1,n+1): t=t*i s=s+1.0/t …… 题解列表 2022年08月09日 0 点赞 0 评论 501 浏览 评分:0.0
题解 1060: 二级C语言-同因查找(C) 摘要:解题思路:看代码参考代码:#include<stdio.h> int main(void){ int i,num; for(i=10;i<=1000;i++){ if(i%4…… 题解列表 2022年08月09日 0 点赞 0 评论 424 浏览 评分:0.0
题解 1061: 二级C语言-计负均正(C) 摘要:注意事项:统计个数,和计算均值,在同一个for中实现,可以减少遍历数组的次数。参考代码:#include<stdio.h> int main(void){ int array[20]; …… 题解列表 2022年08月09日 0 点赞 0 评论 457 浏览 评分:0.0
1083——————Hello,World! 摘要:题目 1083: Hello, world! **题目描述** This is the first problem for test. Since all we know the ASCII …… 题解列表 2022年08月09日 0 点赞 0 评论 993 浏览 评分:0.0
题解 1062: 二级C语言-公约公倍(C) 摘要:解题思路:第三遍了~参考代码:#include<stdio.h> int main(void){ int m,n; int factor,multiple; int check; …… 题解列表 2022年08月09日 0 点赞 0 评论 420 浏览 评分:0.0
可ACAC1111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF) { int sum1=0,s…… 题解列表 2022年08月09日 0 点赞 0 评论 283 浏览 评分:0.0
题解 1063: 二级C语言-统计字符(C语言数组+for循环+gets()函数实现) 摘要:解题思路:上次是用while循环,getchar()函数进行输入,实现的统计,文章链接:https://blog.dotcpp.com/a/88928本次用的gets()函数向数组中写入数据,再用fo…… 题解列表 2022年08月09日 0 点赞 0 评论 515 浏览 评分:0.0