or just use return pig;, no if/else required.
Type: Posts; User: helloworld922
or just use return pig;, no if/else required.
It looks like div is suppose to return if an integer x is divisible by y?
Try stepping through the code (i.e. pretend you're the computer).
1. pig = true or false
4. if (pig == true)?
4a....