Write down the syntax of FOR,WHILE Loop in qbasic
Answers
Answered by
0
For example. CLS i = 1 INPUT "Enter any number "; n WHILE i <= 10 PRINT n; "x"; i; "="; i * n i = i + 1 WEND END DO ... LOOP It is another type of looping statement in QBASIC. ; statements will execute repeatedly while condition is a non-zero value.
Similar questions