eh. Never mind...too late.

First of all, why is your array commented out? Why do you have count1 through count10 (I take it there are ten numbers?) but meanwhile your for loop goes from 0 thru 20?? I'm a bit confused what your switch statement does and what all those if's towards the end do?

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.