+ 1

Can you tell me the major difference between while and do while

While vs do while

25th Jun 2019, 8:39 AM
Deepak Dhingan
Deepak Dhingan - avatar
2 odpowiedzi
+ 1
How many attributes of video tags in html and describe their naming also???
25th Jun 2019, 8:40 AM
Deepak Dhingan
Deepak Dhingan - avatar
+ 1
The difference is that do-while loop will execute the code first and then check the condition after the execution, it means that the code will be executed at least once. On the other hand, the while loop is just like a normal loop, it will check the condition first and then run the code. I don't know about your second question though, I suggest you post a new one so people can see it
25th Jun 2019, 8:50 AM
Agent_I
Agent_I - avatar