answersLogoWhite

0

In while, from the very first term, every time, the related conditions in while will be checked and then the statements will execute.

But, in do-while, all the statements under do will execute once and then compiler will check the while condition. Therefore, only first time only statements will execute without checking the conditions in while, but not from the second term repetition.

written by

DILSHAN MADUSANKA

dilshanmadusanka@Yahoo.com

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the difference between it's and it?

the difference between it's and it..is that it's means it is, while "it" is direct to the object .


What is different between different and difference?

Different is an adjective while difference is a noun


What is the difference between concentrated and concentration?

the difference between concentrated and dilute is concentrated is larger while dilute is smaller.


What's the difference between "i" and "I" in terms of capitalization?

The difference between "i" and "I" is that "I" is always capitalized when referring to oneself as a pronoun, while "i" is not capitalized.


What is the difference between science and literature?

There are allot of difference but the main difference is the science is discovered while the literature is invented


What is the difference between while and repeat?

while means when it is happening. repeat means to do again


Are there any difference between lemon and lime while growing?

no


What is the difference between be accustomed to and be accustomed with?

The difference is that "accustomed to" is a correct usage while "accustomed with" is incorrect.


What is difference between methanol and ethanol?

Methanol is CH3OH while ethanol is C2H5OH. The difference is CH2.


What is the Difference between hornbills and rabbits?

The main difference is that a hornbill is a bird, while a rabbit is a mammal.


What the difference between roughage and succulent?

what is the difference between roughage and succulents


What is the difference between a channel and a medium in communication?

the difference between channel and medium is that channel is the form how the message will be while medium is the actual message