Have a hw issue. my code is not compiling and visual studio is giving me errors all around the if and else if statements saying "expected declaration" or "expected statement" and Illegal else with out matching if.
Line 24,52,77,110,125: Your boolean condition is wrong. Those statements are always going to evaluate as true. If choice is 'y', then choice != 'n' will be true and if choice is 'n', then choice != 'y' will be true. You want &&, not ||.
Line 52,77,110: Remove the ; The ; terminates the if statement.