Computer Science, asked by khadijazahidparvaiz, 4 months ago

3. Write a program that displays the sum of the following series using do. while loop.
1+1/4+1/8+ ... + 1/100


Answers

Answered by princeuplucky123449
3

Answer:

plz mark me brainlest

Explanation:

main ()

{

clrscr();

float c , r;

c = 4.0 ;

r = 1.0 ;

do

{

r = r + 1.0 ;

c = c + 4 ;

}while ( c <= 100 );

cout << "Result : " <

Similar questions