[Solved] If statement comparing 2 conditions of ints runs as boolean


Use If Statement as follow

if(bWeek == Week && bMonth == Month)
{
     getBonus = true;

 }

== is used to compare

= is use to assign value

solved If statement comparing 2 conditions of ints runs as boolean