answersLogoWhite

0

Different betbeen while dowhileloop

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

public class DoWhileLoopDemo {
public static void main(String[] args) {
int count = 1;
System.out.println("Printing Numbers from 1 to 10");
do{
System.out.println(count++);
}while( count <= 10);
}
}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the difference betbeen Dyn11 and Dyn1?

The key difference between Dyn11 and Dyn1 refers to their vector groups. Dyn11 has a neutral terminal connected to the star point of one of the windings, while Dyn1 does not have this connection. This means that in Dyn11, the neutral terminal is available for grounding or other purposes, which may affect system protection and grounding schemes.


What is different between different and difference?

Different is an adjective while difference is a noun


Making correct choices while buying different items?

what are the correct choices of a consumer while buying different items


Name four different methods of gaining height while working?

Name four different methods of gaining height while working.


Does minute and different rhyme?

No, &quot;minute&quot; and &quot;different&quot; do not rhyme. &quot;Minute&quot; has a long &quot;i&quot; sound while &quot;different&quot; has a short &quot;i&quot; sound.


What is the answer to While all ocean water contains salt the varies in different regions?

While all ocean water contains salt, the "salinity" varies in different regions.


Is it illegal to use a calculator while driving?

Not very different from texting while driving. If it isn't it should be.


Can player switch to a different bat while batting?

Yes


How is Amish different from us?

The Amish are different from us because they live simply while we don't live simply.


What do you use to protect your finger while stitching?

To protect your finger while stitching you would use a thimble.Thimbles come in different sizes for different size fingertips. Thimbles also come in different materials, such as metal, leather, and plastic.


How is fungi different from monera?

Fungi are Eukaryotic while monerans are prokaryotic .


How are H2O and Na2O different?

one is an oxide while the other is a hydroxide