Feeds
提问
write a recursive palindrome function but the error is always not enough input arguments
function p=palindrome(n) if length(n)==1 p==true elseif n(1:end)==palindrome(end:-1:1) p=true else p=false end i ...
2 years 前 | 2 个回答 | 0
提问
2 years 前 | 2 个回答 | 0