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

[ad_1]

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

[ad_2]

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