#include<stdio.h>
# define N 10
//书-用数组存储高于60低于70的人单独存起来
int main(){
float s[N]={68.2,62.3,63.4,34.5,45.6,56.7,67.8,78.9,89.0,100};
int i;
float diyu[100];
int j=0;
for(i=0;i<N;i++){
if(s[i]>60 && s[i]<70)
diyu[j++]=s[i];//这里的范围不是之前的1-50连续的范围,而是数组s[i]
//从数组a[i]里找到满足条件的,放到diyu j[++]里
}
for(i=0;i<j;i++)
printf("%3.3f ",diyu[i]);
return 0;
}