write a visual basic program to find factor for inputed number by the user using for loop,while loop,do while loop ,do until loop,while wend loop
tanishqsingh:
anything or everything?
Answers
Answered by
2
Loops provide the ability to repeatedly execute the same block of code, and to each time change values such that each run through the loop produces different results. Visual Basic provides four main kinds of loops: the classic Do-Loop, the Do-Until Loop, the Do-While Loop, and the For-Next Loop...
Do-Loops means this quite simply, executes the block of code, and when it reaches Loop, returns to the beginning of the Do Loop and executes the same block of code again.
Do-Loops means this quite simply, executes the block of code, and when it reaches Loop, returns to the beginning of the Do Loop and executes the same block of code again.
Similar questions