Narcissistic decimal number: Difference between revisions

No edit summary
Line 525:
=={{header|MATLAB}}==
<lang MATLAB>function testNarcissism
ix = 0;
c = 0;
while c < 25
if isNarcissistic(ix)
fprintf('%d ', ix)
c = c+1;
end
ix = ix+1;
end
fprintf('\n')
Anonymous user