This seems like a basic problem, but I am having a lot trouble solving it. Basically, I need to output all of the rules from the class rules if the criteria are met in the nested if statement in the class Craps. There is more code after rules, but it is irrelevant. My compiler tells me "cannot return a value from method whose result type is void".
I realize I could simply copy and paste the entire rules class to the spot in the nested if statement, but this is not kosher according to my professor. Can someone point me in the right direction please