Computer Science, asked by siddhirshinde, 5 months ago

Qs What is foreign loop explain with
Suitable example.

Answers

Answered by Anonymous
2

Answer:

A loop is used for executing a block of statements repeatedly until a particular condition is satisfied. For example, when you are displaying number from 1 to 100 you may want set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration

Answered by aurora2007
0

Answer:

For example, when you are displaying number from 1 to 100 you may want set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration. ... In C++ we have three types of basic loops: for, while and do-while.

Explanation:

please mark me as brainliest if you are satisfied with my answer please dear

Similar questions