using while loops may be more appropriate than using for loops or vice versa. 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 ...