2837: 年龄与疾病(超简单思路) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[100]; double n,b=0,c=0,d=0,f=0,sum1=0,sum2…… 题解列表 2024年10月24日 0 点赞 0 评论 241 浏览 评分:0.0
某医院想统计一下某项疾病的获得与否与年龄是否有关,需要对以前的诊断记录进行整理,按照0-18、19-35、36-60、61以上(含61)四个年龄段统计的患病人数占总患病人数的比例。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,x,a=0,b=0,c=0,d=0; scanf("%d",&n); for(…… 题解列表 2024年04月22日 0 点赞 0 评论 258 浏览 评分:0.0
简单明了的解题法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; double z=0,x=0,c=0,v=0; scanf("%d",&n); for(int…… 题解列表 2023年09月23日 0 点赞 0 评论 378 浏览 评分:0.0
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i; double z=0; double x=0; double c=0; do…… 题解列表 2023年02月20日 0 点赞 0 评论 173 浏览 评分:0.0
2837: 年龄与疾病 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int n,age[100],i; int a=0; //年龄在0-18 …… 题解列表 2023年08月20日 0 点赞 0 评论 244 浏览 评分:0.0
年龄与疾病 摘要:解题思路:注意事项:打%要打两遍 %%参考代码:#include<stdio.h>int main(){ int n,a[1000]; scanf("%d",&n); float z…… 题解列表 2023年08月03日 0 点赞 0 评论 163 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, a[100], i; float sum_1 = 0.0, sum_2 = 0.0, …… 题解列表 2023年06月01日 0 点赞 0 评论 151 浏览 评分:0.0
2837: 年龄与疾病(C语言) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; for(int i=0;i…… 题解列表 2023年07月22日 0 点赞 0 评论 228 浏览 评分:0.0
年龄与疾病(C语言) 摘要:#include<stdio.h> void my_fun(int *p,int n) { double rate1,rate2,rate3,rate4; int a=0,b=0,c=0,…… 题解列表 2023年02月13日 0 点赞 0 评论 206 浏览 评分:7.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 评论 307 浏览 评分:8.0