KnowledgeBoat Logo
|

Computer Studies

Write down the format of:
(a) WHILE - WEND
(b) FOR-NEXT

QBASIC: For-Next Statements

17 Likes

Answer

(a) WHILE - WEND The format of WHILE - WEND is as follows:

WHILE <condition>
...
task to be done
...
WEND

(b) FOR - NEXT The format of FOR - NEXT is as follows:

FOR <variable> = <initial value> TO <Final value>
...
Task to be done
...
NEXT <variable>

Answered By

11 Likes


Related Questions