- 2
diffrence between while and do while
What is the basic diffrence between while and do while? Where to use both?
1 ответ
+ 4
The most basic difference is that while loop first check condition and then runs block of code
But do while loop first runs block of code and then checks the condition