Posted by: lootekukur August 13, 2008
Check ur Mathematics - 2
Login in to Rate this Post:     0       ?        
Programming 101

for A=1:9
for B=1:9
for C=1:9
for D=1:9
    x=A*1000+B*100+C*10+D;
    y=A^B*C^D;
    if x==y
        disp(x)
    end
end
end
end
end
        2592
Read Full Discussion Thread for this article