Computer Science, asked by touhidzafar99, 2 months ago

how do you write a name using do while loop on QBasic​

Answers

Answered by advomarkhayyam
7

Answer:

Do While" loop statement runs while a logical expression is true. • This means that as long as your expression stays true, your program will keep on running. • Once the expression is false, your program stops running.

Answered by Jasleen0599
0

You write a name using do while loop on QBasic​.

  • until a condition becomes true or for as long as a condition is true, repeats a block of sentences.
  • The control structure is frequently also referred to as a pre-test loop since the while loop verifies the condition or expression before the block is executed.
  • A series of instructions can be repeated until a specific condition is met using looping statements. Three different looping statement types are offered by QBASIC: WHILE-WEND loop, DO UNTIL loop, and FOR NEXT loop.
  • A do while loop is a control flow statement used in the majority of computer programming languages. It executes a block of code and, based on a given boolean condition, either repeats the block or ends the loop.
  • FOR LOOPS and WHILE LOOPS are two popular types of loops. While a While loop runs a fixed number of times, a For loop runs a variable number of times. When you know how many times you want to run an algorithm before stopping, you use for loops.

#SPJ3

Similar questions