To me you seem to be at pre beginner level. The grades is not visible in the second loop because it was declared the first for loop and is visible only inside the first for loop. It wont work unless:...