The names are in a txt. file and are categorized as 1. malename femalename.
One being the number symbolizing their popularity in 2004. What I've been attempting to program is a program that will read a requested baby name from the user. Scan through all the baby names using an Array and return what popularity the baby name has. Also what I don't have integrated into my programming is the fact that the female and male names are supposed to come up seperately in rankings. ie "Jacob is number 1 in boy name popularity" and "Jacob is not ranked in the girls names."
mcclainra
0
Newbie Poster
Recommended Answers
Jump to PostLet's start with your data structure:
so far you have a single array of characters; I think you need at least an array of strings. In fact, to store girls' names and boys' names, you probably want two arrays of strings, one called girls_names and one called boys_names. You should …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.