It seems simple to me... If the variable is going to be used throughout the entire function, then its declared at the top of the function. If the variable is going to be used only once or in a small...