There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Johanno ,

StackoverflowException.

What do I do now?

Nvm. Got it.


<span style="color:#323232;">  if(num % 2 == 0){
</span><span style="color:#323232;">       int num1 = num/2
</span><span style="color:#323232;">       int num2 = num/2
</span><span style="color:#323232;">       return isEven(num1) &amp;&amp; isEven(num2)   
</span><span style="color:#323232;">  } 
</span><span style="color:#323232;">
</span><span style="color:#323232;">if(num % 3 == 0){
</span><span style="color:#323232;">      int num1 = num/3
</span><span style="color:#323232;">      int num2 = num/3
</span><span style="color:#323232;">      int num3 = num/3
</span><span style="color:#323232;">      return isEven(num1) &amp;&amp; isEven(num2) &amp;&amp; isEven(num3) 
</span><span style="color:#323232;">}
</span>

Obviously we need to check each part of the division to make sure if they are even or not. /s

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines