After the following code executes, what is the value of my_value if the user enters 0?

```
cin >> my_value;
if (my_value > 5)
my_value = my_value + 5;
else if (my_value > 2)
my_value = my_value + 10;
else
my_value = my_value + 15;
```

a. 15
b. 10
c. 25
d. 0
e. 5

a. 15

Computer Science & Information Technology

You might also like to view...

The Formula bar displays immediately under the column letters

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following automated or semi-automated software testing techniques relies on inputting large amounts of random data to detect coding errors or application loopholes?

A. Fuzzing B. Black box C. Fault injection D. SQL injection

Computer Science & Information Technology