Computer Science, asked by namo09, 1 month ago

Q1. What is While Wend Statement?

Q2. Write Syntax of While Wend Statement.

Q3. What is For- next statement?

Q4. Convert into WHILE-WEND Statement.

FOR I=1 TO 5

PRINT I,

NEXT ​

Attachments:

Answers

Answered by singhyogendra559
4

Answer:

Q1) ans:-In a While…Wend loop, if the condition is True, all the statements are executed until the Wend keyword is encountered. If the condition is false, the loop is exited and the control jumps to the very next statement after the Wend keyword.

Q2) ans:-In a While…Wend loop, if the condition is True, all the statements are executed until the Wend keyword is encountered. If the condition is false, the loop is exited and the control jumps to the very next statement after the Wend keyword

Q3) ans:-The for... next statement is an iterative, incremental loop statement used to repeat a sequence of statements for a specific number of occurrences. ... This looping continues until the ending condition is met or the loop is explicitly exited with an exit or goto statement.

Q4) ans:-If condition is True, all statements are executed until the Wend statement is encountered. Control then returns to the While statement and condition is again checked. If condition is still True, the process is repeated. If it is not True, execution resumes with the statement following the Wend statement.

please follow my brainly account

Similar questions