年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a[n],b=0,c=0,d=0,e=0; float f,g,h,j; sc…… 题解列表 2024年12月05日 1 点赞 1 评论 899 浏览 评分:10.0
这个方法还不错! 摘要:解题思路:按题目意思写即可注意事项:输出注意浮点型参考代码:#include<stdio.h> void fun(int t) { int a=0,b=0,c=0,d=0,m,i; for…… 题解列表 2022年12月23日 0 点赞 0 评论 1017 浏览 评分:9.9
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,s[100],j; scanf("%d",&n); double …… 题解列表 2023年01月13日 0 点赞 0 评论 686 浏览 评分:9.9
2837: 年龄与疾病 摘要:解题思路:%.2f%%指定了输出的格式:%.2f表示输出一个浮点数,保留两位小数,%%表示输出一个百分号字符。记得还要*100注意事项:参考代码:#include<stdio.h>int main()…… 题解列表 2024年07月17日 0 点赞 0 评论 607 浏览 评分:9.9
2837: 年龄与疾病(C语言) 摘要:解题思路:注意事项:1.%%打印百分号2.整形除整形会进行截断运算参考代码:#include<stdio.h>int main(void){ int n; scanf("%d", &n); int a…… 题解列表 2023年05月14日 0 点赞 0 评论 1286 浏览 评分:9.9
整齐美观,易懂有注释(两种方法)!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i; int a=0,b=0,c=0,d=0; scanf("%d",&m);…… 题解列表 2023年10月22日 0 点赞 0 评论 780 浏览 评分:9.9
emm,感觉有点麻烦 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int n; float a,b,c,d; a=0;b=0;c=0;d=0; scan…… 题解列表 2022年11月09日 0 点赞 2 评论 812 浏览 评分:9.0
一维数组--4.年龄与疾病 摘要:注意事项: 记得把b,c,d,e初始化为0,不然结果会出现错误;参考代码:#include<stdio.h> int main() { int n,a[100]; int b=0,c=0,…… 题解列表 2023年03月24日 0 点赞 0 评论 969 浏览 评分:8.2
编写题解 2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jibing(int A[100],float n){ int i; float w,x,y,z; for(i=0;i<n;…… 题解列表 2022年11月23日 0 点赞 0 评论 592 浏览 评分:8.0