Computer Science, asked by mani17112004, 5 months ago

.Explain with general format
(a) while-loop
(b) do while-loop
(c) for-loop

Answers

Answered by Anonymous
1

\huge\pink{\mathfrak{answer}}

  1. The while construct consists of a block of code and a condition/expression. The condition/expression is evaluated, and if the condition/expression is true, the code within all of their following in the block is executed. This repeats until the condition/expression becomes false.
  2. In most computer programming languages, a do while loop is a control flow statement that executes a block of code at least once, and then either repeatedly executes the block, or stops executing it, depending on a given boolean condition at the end of the block
  3. In computer science, a for-loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly. Various keywords are used to specify this statement: descendants of ALGOL use "for", while descendants of Fortran use "do".
Answered by Bhawanakumari6b1029
2

Answer:

please Mark me brainliest please

Similar questions