qbasic loop statement ??
Answers
Answered by
3
HELLO FRND
___________
To create an interesting and efficient program, you can make Quizzes to execute one part of a program more than once.
It is called looping, when QBasic goes through a part of a program and goes again.
It can be done with the GOTO command, but QBasic has some good ways to loop the program.
One of them is for ... Next Command.
______________
THANK YOU
@SRK6
___________
To create an interesting and efficient program, you can make Quizzes to execute one part of a program more than once.
It is called looping, when QBasic goes through a part of a program and goes again.
It can be done with the GOTO command, but QBasic has some good ways to loop the program.
One of them is for ... Next Command.
______________
THANK YOU
@SRK6
itzsnehaa:
thanks srk
Answered by
2
Looping is basically used to in qbasic for repeat the block of statement multiple time according to the requirements.
Ex:
for i = 1 to 4
PRINT "Hello World"
NEXT i
Hope this helps!
Ex:
for i = 1 to 4
PRINT "Hello World"
NEXT i
Hope this helps!
Similar questions