void toVuong(Graphics g,intx, inty,intr){ for(inti=0;i<=r;i++){ DDA(g,x,y+i,x+r,y+i); } } Chúc thi tốt ❤️ Bình luận
mô tả thuật toán vẽ 1 hình vuông
void toVuong(Graphics g,intx, inty,intr){
for(inti=0;i<=r;i++){
DDA(g,x,y+i,x+r,y+i);
}
}
Chúc thi tốt ❤️