Need help start of the modulo function and main is incorrect how do i fix it?
Hello, @victorlundgren1.
Looks like you are missing a few closing braces }
in your code. Also your divide
method is missing it’s parameters, and includes an unnecessary return
which would produce an error if the second parameter was 0.
1 Like