I need to write a program where a user inputs positive integers between 0 and 20 that uses an array to count how many times each integer is input. I cannot save integers that are input, i must save the count of integers that are input. I don't know where to start. please help

Payge
Recommended Answers
Jump to PostA perfctly good suggestion, but it would be simpler to let the array elements default to zero, then you wouldn't need to initialise it or add 1 at the end!
All 2 Replies
thines01 401 Postaholic Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
thines01 commented: A better option for the solution! +13
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.