photo

Christine


Last seen: 3 months ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


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 ...

1 year ago | 2 answers | 0

2

answers