[Solved] } expected and type or namespace definition or end of file expected [closed]


the Menu() method is inside the Main() method.

You should create Menu() as a separate method to Main(), call Menu() from Main() and pass the calculator object into it. Or merge Menu() into Main().

3

solved } expected and type or namespace definition or end of file expected [closed]