Computer Science Canada Mode of chracters |
Author: | eNc [ Sun Feb 06, 2005 12:45 pm ] | ||
Post subject: | Mode of chracters | ||
Hi, umm i was wondering how i would go about finding the mode of chracters in string ie -- INPUT = 139523442133
|
Author: | TheZsterBunny [ Sun Feb 06, 2005 4:36 pm ] | ||
Post subject: | |||
hrm. it would make for difficulty if you were using more than one digit numbers. however;
would give you the mode for single-digit numbers -Z lol. while writing the code, i kept having to delete the java statements and replace them with turing. |