Tuesday, September 18, 2012

WD Practical (do-While)


class mul
{
public static void main(String s[])
{
int i=1,m=5,n;
do


{n=m*i;
System.out.println(m+"*"+i+"="+n);
i++;
}while(i<=10);
}
}

No comments:

Post a Comment