RosettaCodeData/Task/Constrained-random-points-on-a-circle/EasyLang/constrained-random-points-on-a-circle.easy
2026-04-30 12:34:36 -04:00

9 lines
172 B
Text

while cnt < 100
x = random -15 15
y = random -15 15
r = sqrt (x * x + y * y)
if 10 <= r and r <= 15
cnt += 1
gcircle 50 + x * 2 50 + y * 2 1
.
.