After the following Java code has be executed, what is the value of bonus?
bonus = 0;
sales = 500;
if ( sales > 300 )
bonus = bonus0 + 20;
else if ( sales > 400 )
bonus = bonus0 + 30;
else if ( sales > 600 )
bonus = bonus0 + 40;
Shouldnt I use the bonus for the last one making the answer 40 since thats the only if statement that was true? the multiple choice answers were A) 20; B) 0; C) 30; D)40; or E)90
Ithe only other answer I could think it could be is 0 but I still dont understand why when the others were false statements

