Examlex

Solved

After the Following Code Executes, What Is the Value of My_value

question 37

Multiple Choice

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;


Definitions:

Related Questions