题解 2837: 年龄与疾病

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

2837: 年龄与疾病

摘要:``` #include using namespace std; int n[100000],a; double q,w,e,r; int main() { cin>>a; for……

简单明了的解题法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n; double z=0,x=0,c=0,v=0; scanf("%d",&n); for(int……

2837: 年龄与疾病

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){    int n,age[100],i;    int a=0;        //年龄在0-18   ……

年龄与疾病

摘要:解题思路:注意事项:打%要打两遍 %%参考代码:#include<stdio.h>int main(){    int n,a[1000];    scanf("%d",&n);    float z……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n, a[100], i;    float sum_1 = 0.0, sum_2 = 0.0, ……

普通的写法

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;const int N=100;int a[N]; int ……

年龄与疾病

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i; double z=0; double x=0; double c=0; do……