Code for checking Palindrome string in Scilab

x=input("Enter a string ",["string"]);y=strrev(x);if (x==y) thendisp("Palindrome string");else disp("Not palindrome string");end;

Comments

Popular posts from this blog

MATLAB code for Circular Convolution using Matrix method

Positive number pipe in angular 2+