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);
}
}


You can comment your own Program also..:)

No comments:

Post a Comment