{
System.out.printf("Enter your choice [1-4]: " + "\n\n1. Record Rent Collection" + "\n" +"2. Record Expense" + "\n" +"3. Generate Portfolio Report"+ "\n" + "4. Save" + "\n" + "5. Exit Program");{
menu = input.nextInt();
}
if (menu == 1) {
System.out.println("Enter the address of the property: ");
}
This is what I've written so far for a menu selection, I'm just trying to figure out what to put after the print command to read the txt file when a certain keyword is searched. I'd like it to display the results from the txt file.
EDIT: I need it to display search results.