numbers % program
- horsemen_
- Senior Member
- Posts: 1488
- Joined: Thu Mar 21, 2002 3:30 pm
- Location: Edwards Air force base Ca
numbers % program
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
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)...?
Also, as the numbers integers (1,2,3) or float/double (1.234232, 1.2, 4322.212)...?
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:

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:

If you intend doing any other statistical analysis... I reccommend Openstat: http://www.statpages.org/miller/openstat/ . Free and fairly useful.
Australian Regular Army and proud of it.