COMPUTER INNOVATIONS
Friday, March 6, 2015
Do While loop in a java pgm
Do While loop
public class DoWhileExample
{
public static void main(String[] args)
{
dowhile(
);
nt i =0;
do
{
System.out.println("i is : " + i);
i++;
}while(i < 5);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment