Computer Science, asked by rehan31, 1 year ago

s=1/ 2+2/3+3/4+.....+9/10 in c++

Answers

Answered by abhyudaya37oxhryl
0
You can use a “for loop” for this program

for(int i=1, int j=2, int r, int s=0;j<=10;++i,++j)
{
r=i/j;
s=s+r;
}
cout<<“Sum of series :”<
This just a fragment, make sure you write the complete programme

Hope it helps :)
Similar questions