s1 = input('Enter first string: ','s');
s2 = input('Enter second string: ','s');
g = input('for anagram: 1, funny: 2 -');
switch g
   case 1
      anagram(s1,s2);
   case 2
      funny(s1,s2);
   otherwise
      fprintf(2,'bad choice');
end

