Daffodil International University
Problem Link
//Please follow from main function
#include<stdio.h>
int main(){
int i, len=0;
double arr[100];
for(i=0; i<100; i++){
scanf("%lf", &arr[i]);
}
for(i=0; i<100; i++){
if(arr[i]<=10){
printf("A[%d] = %.1lf\n", i, arr[i]);
}
}
return 0;
}
0 Comments