Saved Bookmarks
| 1. |
Write down the syntax of FOR,WHILE Loop in qbasic |
|
Answer» mple. 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. |
|