SOLUTION OF URI 1178 URI SOLUTIONS // 1178 (Mahmud_Jamil) BRUR // Solution of 1178 Array Fill III #include <stdio.h> int main() { int a; double N[100],b,c,d; scanf("%lf", &b); N[a]=b; for(a=0; a<100;a++) { printf("N[%d] = %.4lf\n", a, N[a]); b/=2; N[a+1]=b; } return 0; } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook