Find square difference: Difference between revisions

m
(add task to zig language)
Line 553:
repeat
i += 1
squarea = pow i 2* i
diffSquareb = pow (i - 1) 2* (i - 1)
until differencea - b > 1000
difference = square - diffSquare
until difference > 1000
.
print i
1,969

edits