I haven't compiled yet..still trying to figure out how to work it into the loop haha
Type: Posts; User: Luchek
I haven't compiled yet..still trying to figure out how to work it into the loop haha
I've set:
boolean resultFound
I'm guessing the next step would be to put this inside the loop:
resultFound= something
and then at the end:
How would I set it's value in the loop?? - That's what confuses me.
I tried doing this:
if(country.toLowerCase().contains(searchString))
{
System.out.println(country + "\t" +
capital + "\t" + population);
...
Hey guys,
First time poster :) so quick background on my project. I've been asked to make a program that accesses a file and outputs what you've searched for. The file contains a list of the...