Science, asked by snowwhite2, 1 year ago

difference between For ....next and nested in QBASIC whoever will answer i will make him or her brainlist

Answers

Answered by aryamanv7
1

The THEN part and the ELSE part, if any, can contain one or more IF-THEN-ELSE-END IF statement in one of the three forms. That is, when you feel it is necessary, you can use as many IF-THEN-ELSE-END IF statements in the THEN part and the ELSE part as you want. However, please note that any such IF-THEN-ELSE-END IF must be fully contained in the THEN part or the ELSE part. If you follow the box trick, this requirement is automatically satisfied. The following is an example:

IF (logical-expression) THEN statements IF (logical-expression) THEN statements ELSE statements END IF statements ELSE statements IF (logical-expression) THEN statements END IF statements END IF

hope it helps




snowwhite2: tell me nested meaning
aryamanv7: Nesting is quite common in programming, where different logic structures sequence, selection and loop) are combined (i.e., nested in one another). It also occurs in applications. For example, many word processing applications allow you to embed (nest) one document inside another. nested virtualization. Net PC.
aryamanv7: mark me brainlliest
snowwhite2: i only make those brainliest who give right ans
snowwhite2: ok
Answered by lucky248
1
Nested Loop

The Loop inside the loop structure is called Nested loop. It contains an outer loop and inner loop.

7  7  7  7  7  7  7  7

6  6  6  6  6  6  6  

5  5  5  5  5  5  

4  4  4  4  4  

3  3  3

2  2

1


The FOR NEXT Statement

The FOR NEXT statement is used to repeat a block of instructions a specified number of times.

Hope this helps you!!!


Similar questions