Feeds
已回答
Sum the digits of a number?
n=round(1000*rand(1)) SUM=sum(num2str(n))-48*length(num2str(n)) % 48 is the ASCII code for 0 ________________ When I execute ...
Sum the digits of a number?
n=round(1000*rand(1)) SUM=sum(num2str(n))-48*length(num2str(n)) % 48 is the ASCII code for 0 ________________ When I execute ...
2 years 前 | 0