SyntaxFix
Write A Post
Hire A Developer
Questions
When the return type is void, your method doesn't return anything.
Look again at your code: There's no return in that method. You print to the console and exit.