Computer Science, asked by kamalpoudel704, 1 month ago

@ Devlop e program for the following using recessary Looping
structure (single loop) Nasted loop)
1
1 3
1 3 5
1 3 5 7
1 3 5 7 9​

Answers

Answered by nikitashaw30
0

Answer:

Please Subscribe♥️my channel-{English junior Teacher}

Answered by ritubaid111
0

Answer:

Question 1

A loop within another loop is called nested loops

Question 2

You can use break statement to terminate a loop block.

Question 3

Label is a tag that decides which of part the loop is to be used.

Question 4

Repetition of inner loop takes place before outer loop

Question 5

Continue statement will repeat a loop for next iteration after ignoring some statements of the loop.

Write whether the following statements are True/False

Question 1

Loop is a repetitive structure.

True

Question 2

Nesting of loops means restricting the use of inner loop.

False

Question 3

When break statement is applied, it terminates the program completely.

False

Question 4

When outer loop completes its iterations, the inner loop starts. False

Question 5

Labelled continue statement allows the next iteration of the loop from any place of looping structure.

False

Differentiate between the following

Question 1

Nested if and nested loop

Nested if is used to do conditional checks at multiple levels whereas nested loops are used to execute one iterative set of statements inside another iterative set.

Question 2

Break and continue

break statement is used to unconditionally jump out of the loop whereas continue statement is used to unconditionally jump to the next iteration of the loop, skipping the remaining statements of the current iteration.

break statement is used in switch-case and loops whereas continue statement is only used in loops.

Explanation:

Similar questions