All In One
একের ভিতর সব
Thursday, June 23, 2016
SOLUTION OF URI 1155
// 1155 (Mahmud_Jamil) BRUR
//
S Sequence
#include <stdio.h>
int main()
{
double a,b=1,c, S=0;
for(a=1; a<=100; a++)
{
c=1/a;
S+=c;
}
printf("%.2lf\n",S);
return 0;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment