Guest User

Untitled

a guest
Feb 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. private double wordcompare(word a, word b)
  2. {
  3. if (a.AtTheEndOf(b))
  4. return -1;
  5. double matchPer=word.Compare( a,b);
  6. Console.WriteLine(matchPer);
  7. a.shiftToleft();
  8. double nextMatchPer = wordcompare(a, b);
  9. return matchPer > nextMatchPer ? matchPer : nextMatchPer;
  10. }
Add Comment
Please, Sign In to add comment