It is better to write pseudocode (a simple outline of what you plan to do) first and get a clear idea of what you need and how to accomplish that task. In general, for loops are used when you know ...