SOLUTION OF URI 1174 URI SOLUTIONS No comments // 1174 (Mahmud_Jamil) BRUR // Array Selection I #include <stdio.h>int main(){ double A[100]; int i; for(i=0; i<=99; i++) scanf("%lf", &A[i]); for(i=0; i<=99; i++) { if(A[i]<=10.0) printf("A[%d] = %.1lf\n",i, A[i]); } return 0;} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment