how do you write a name using do while loop on QBasic
Answers
Answered by
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
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
English,
1 month ago
Math,
1 month ago
Math,
1 month ago
English,
2 months ago
India Languages,
8 months ago
Computer Science,
8 months ago