Page 1 of 1
numbers % program
Posted: Wed Mar 08, 2006 12:06 am
by horsemen_
i would like to know if thier a program out thier that will tell me how often a number comes up in a list of numbers thier is prouble over 800 numbers and i would like to know how often each numbers shows up and what the % of that numbers is coming up thanks
Posted: Wed Mar 08, 2006 3:35 pm
by A_old
Doubtful, but it wouldn't be terribly hard to write. How is the input to be entered? comma seperated values? (e.g. 1, 2, 500, 3, 600, 23, 42). This isn't something you are supposed to write for school, is it? If it isn't a program you're supposed to write for school, I could write one for you in C#/Java in about half an hour.. but it'll have to be Thursday or Friday since I have an exam thursday. Assuming the comma seperated deal I mentioned, that is (i.e. you'd paste the string of numbers into a text box and hit a button, the program would generate a report on screen or spit out a file). I suppose space seperated or dimilited by any character that isn't a number would be fine too... 1 2 3 4 5 or 1.2.3.4.5..i'd need to know in advance what character it was though.
Also, as the numbers integers (1,2,3) or float/double (1.234232, 1.2, 4322.212)...?
Posted: Wed Mar 08, 2006 5:27 pm
by A_old
Well, just for fun, I wrote a program to do this, I'll put it up on my webspace so you can download it shortly. (Going to eat dinner first)
Posted: Wed Mar 08, 2006 6:07 pm
by A_old
Well, enjoy. I'm off to study. Read the blurb about it at
http://www.amromousa.com/downloads before using it.
http://www.amromousa.com/dev/numcounter ... ounter.zip
BTW, you must have the Microsoft .net framework 2.0 installed for this to work. Please let me know if you end up using it
Here's a screenie:

Posted: Sat Mar 11, 2006 7:52 am
by vinnie
If you intend doing any other statistical analysis... I reccommend Openstat:
http://www.statpages.org/miller/openstat/ . Free and fairly useful.