If you don't want it to return 0 then why do you have that statement there? What should it return instead? I have no idea. What is the method supposed to do? Looking at your code, no matter what...
Type: Posts; User: Junky
If you don't want it to return 0 then why do you have that statement there? What should it return instead? I have no idea. What is the method supposed to do? Looking at your code, no matter what...
What is the smallest value an int can have? Will all values entered be greater than that value?