I've got a program to write and im struggling to start out..

read one integer, n, from a file, then loop the program n times, using indexes 1-n. I'm not really sure where to start with that statement... Im a bit rusty in c++ haha.

Each time through the loop the program has to tell if the number is divisible by 3. If divisible by 3, i have to use the setfill, and i know how to do that...i just need a little help in setting up the loop.

there is also else if the loop is divisible by 5, and else if the loop is divisible by 3 and 5, but if i can get a little help on one of them, I can do the rest myself.

Thank you very much for your help!!!!