5. Which of the following is a loop statement?
(a) While
(b) Do-while
(c) For
State True (T) or False (F).
1. Initialization means assigning some values to a variable using assignment operators.
2. A conditional statement cannot be placed anywhere in the program.
3. Loop is a process of executing a statement repeatedly until a condition is met.
4. The do-while loop is an entry controlled loop.
5. The while statement is a jump statement.
Answers
Answered by
0
Answer:
1. false
2.false
3.true
4.false
5.true
Answered by
0
while loop is executed once before the condition is checked. Its syntax is: do { // body of loop; } while (condition); ... If the condition evaluates to true , the body of the loop inside the do statement is executed again.
Similar questions
English,
5 months ago
Math,
11 months ago
Computer Science,
11 months ago
Math,
1 year ago
Geography,
1 year ago