I have to write a program that allows the user to input 10 single digit numbers, and then it reads the largest number out of the bunch. I need help just starting out with the counter. This is what I need,
a) counter: A counter to count to 10 (that is, to keep track of how many numbers have been input and to determine when all 10 numbers have been processed);
Problem is, I have no where to start, the book I am using doesn't do a good job explaining counters, and I am not looking for someone to give me an answer, just some guidance with a bit of code to start out with.
Any help will be greatly appreciated.