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