Computer Science, asked by pandeyarpit353, 6 months ago

Rewrite the following code using for loop. [2]

int a=5;

while(a>0)

{

b=b+a;

a++;

}

Answers

Answered by amritadevi18
0

Answer:

1 is the

Explanation:

I hope helps you

Similar questions