After execution of the following code, what will be the value of inputValue? int inputValue = 0;

Question:

After execution of the following code, what will be the value of inputValue?

int inputValue = 0;

if (inputValue > 5)

inputValue += 5;

else if (inputValue > 2)

inputValue += 10;

else inputValue += 15;

a. 15

b. 10

c. 25

d. 0

e. 5

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: