Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private double wordcompare(word a, word b)
- {
- if (a.AtTheEndOf(b))
- return -1;
- double matchPer=word.Compare( a,b);
- Console.WriteLine(matchPer);
- a.shiftToleft();
- double nextMatchPer = wordcompare(a, b);
- return matchPer > nextMatchPer ? matchPer : nextMatchPer;
- }
Add Comment
Please, Sign In to add comment