December 15th, 2013, 03:38 AM
December 14th, 2013, 03:21 PM
if m==n (j*j*j + i*i*i==k*k*k + l*l*l), because 1729=12^3 + 1^3 = 9^3 + 10^3. i think that my function is working right, but i cant figure out what is wrong with for loops. Program is printing 4394...
December 14th, 2013, 02:48 PM
Hei! So i found my problem with endless printing in my program, but the result is still not right. It should print out 1729 (12 + 1 = 9 + 10), but it doesn't.
December 14th, 2013, 02:04 PM
I just started learning programing and there is a little assigment that i need to do, but i cant figure out why my program is not doing what it should do. If i look at it, everything seems...