photo

Christine


Last seen: 3 månader 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 ...

ungefär ett år ago | 2 answers | 0

2

answers