+ 1
I don't get what is going on here
It constantly keeps giving an error msg https://code.sololearn.com/ctGuq8GWAHcK/?ref=app
2 Antworten
+ 1
Func() method was defined with `int` as the return type. But no `return` statement was issued within its body, that's the problem.
Solution:
Return the calculation result and display it in Main() method
+ 1
Thanks got it