Computer Science, asked by yug2452005, 10 months ago

write three different programs using for while and do while loops to find the product of series 3 9 12 15 18 21 24 27 30​

Answers

Answered by varadhabala29
2

Answer:

for(i=3;i<=30;i=i+3)

int product×=i;

cout<<product;

i=3;

while(i<=30)

{

product×=i;

i=i+3;

}

cout<<product;

Similar questions