I need to use a boolean variable to keep track of whether any countries were found, and then check this with an “if”
statement at the end within this code.



import java.io.*;
import...