S
2012-10-28 16:17:05 UTC
I want to convert this into a while loop:
int t=500;
for(int r=1000;r<2500;r=r+20)
{
t+=r+10;
System.out.println(t);
}
I want to convert this into a do-while loop:
int x=0;
for(int y=1;y<=200;y++)
{
x=x*y;
}