河南成教 / Java程序设计
[填空题] import java.applet.*;
import java.awt.*;
public class test extends Applet
{
public void paint(Graphics g)
{
long jc=1;
for(int i=10;i>=1;i--){________;}
g.drawString("10的阶乘是"+jc,10,20);
}
}
import java.awt.*;
public class test extends Applet
{
public void paint(Graphics g)
{
long jc=1;
for(int i=10;i>=1;i--){________;}
g.drawString("10的阶乘是"+jc,10,20);
}
}
参考答案: