Question: Which statements will execute if the following code is executed (select all that will execute)? int a=2, b=10; if(a!=1 && b/a a+b) statement 2; if(15/b==1
Which statements will execute if the following code is executed (select all that will execute)?
int a=2, b=10;
if(a!=1 && b/a
statement 1;
if(b%2==0 || b>a+b)
statement 2;
if(15/b==1 && b>a++)
statement 3;
else
statement 4;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
