Java Nested While Loop Example

Java Nested While Loop Example

Java Nested While Loop Example


java nested while loop example,java for loop example,java for loop syntax,java while loop break,how to write a for loop in java


While in Java Program

class kumar
{
public Static void main(String args[])
{
int a;
a=1;
while(a<=10)
{
System.out.println("The value of a is:"+a);
a++;
}
}

}

Post a Comment

0 Comments