Java program codes
Friday, 9 September 2011
do while loop in java
class DoWhile
{
public static void main(String args[])
{
int no=1;
do
{
System.out.println("Number is:"+no);
no++;
} while(no<11);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment