Computer Science, asked by harshilgill4426, 9 months ago

How would you decide the use of one of three loops in C for a given problem

Answers

Answered by hussainkunhi3
3

Answer:

  • So when you have a fair idea of number of time the body of the loopmust be repeated ,for loop should beused . while loop - When you want to run the body of loop until anexpression is true then while must beused . Also in while loop ,you can increment the variable ,under checking condition, whenever you want .
Similar questions