下面Applet程序的功能是统计在平面坐标系中第一象限中,半径大于9,小于10的圆环中坐标值为整数的点有多少并且给出其坐标值.请改正程序中的错误(有下划线的语句),使程序执行后,能得到预期的结果。
注意:不改动程序的结构,不得增行或删行。
程序的执行结果为:

import java.awt.*;
import java.applet.*;
/*
<applet code=Di9Ti width=200 height=100>
</applet>
*/
pubic class Di9Ti extends Applet
public void paint(Graphics g)
int x,y,r1=5, r2=4;
int count=0;
for(x=1; x<y;x++)
for(y=1;y<r1;y)
if(x*x+y*y<=r2*r2||x*x+y*y>=r1*r1)
break;
g.drawString("x="+x+"y="+y,20+count*80,20);
count++;
g.drawstring("count="+count,20,40);
ex38_3.html:
<html>
<head>
<title>A Simple Program</title>
</head>
<body>
<applet code="Di9Ti.class" width=800 height=400>
</applet>
</body>
</html>