| | |
IT newbie needs immeadiate help with pseudo code algorithm
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Thread Solved |
Here's the problem:
"Daily life magazine wants an analysis of the demographic characteristics of its readers. The Marketing department has collected reader survey records containing the age, gender, marital status, and annual income of readers. Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, 50 and older."
I know that the answer should include an array but i'm very confused as to how to search the array then organize the results by age groups. I if you can help, this assignment is due at midnight tonight so please hurry, thanks!
"Daily life magazine wants an analysis of the demographic characteristics of its readers. The Marketing department has collected reader survey records containing the age, gender, marital status, and annual income of readers. Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, 50 and older."
I know that the answer should include an array but i'm very confused as to how to search the array then organize the results by age groups. I if you can help, this assignment is due at midnight tonight so please hurry, thanks!
•
•
Join Date: Sep 2008
Posts: 1,568
Reputation:
Solved Threads: 196
1
#2 Oct 18th, 2009
•
•
•
•
Design an application that accepts reader data and produces a count of readers by age groups as follows: under 20, 20-29, 30-39, 40-49, 50 and older."
1. create an array of size 5, one for each of your age groups, anmd initialize each index of the array to 0.
2. read in data and based on what age group each piece of data fits into, add one to the appropriate array index.
Out.
![]() |
Similar Threads
- Pseudo code Algorithms (Computer Science)
- pseudo code: help with semantics (Legacy and Other Languages)
- Genetic Algorithm (Java)
- Question on implementation on CRC (Cyclic Redundancy Code) algorithm. (C++)
- C++ Game - Pseudo code (C++)
- what should i do first??? (C++)
- Help with pseudo code. (C#)
- Pseudo Code (Computer Science)
Other Threads in the Computer Science Forum
- Previous Thread: How to do an algorithm
- Next Thread: Query to compute the no. of exchanges
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business cern codebreaker compiler computer computers computerscience computertrackingsoftware conversion csc data dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws linkbait lsmeans mainframes marketing mining mobileapplication msaccess netbeans networking news os p2p piracy piratebay programming research sas science security sex simulation software spying sql study supercomputer supercomputing sweden technology textfield turing turingtest two'scompliment uk virus warehouse ww2






