# Problem:Three numbers that add up to 10 (Sample Programs)

A Fibonacci problem.

Find three numbers that A + B + C = 10. And that A * C = B ^ 2

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

cls

for a = 0 to 10

for b = 0 to 10

for c = 0 to 10

if a+b+c = 10 and a * c = b^2 then print "a = "+a+" b = "+b+" c = "+c+" b^2 = "+ b^2

next c

next b

next a

end

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

a = 0 b = 0 c = 10 b^2 = 0

a = 10 b = 0 c = 0 b^2 = 0

**Complete thread:**