This code modifies values number1, number2 and result. What are the final values of these variables?
```
1 int number1;
2 int number2;
3 int result;
4
5 number1 = 5 * ( 4 + 6 );
6 number2 = 2 * 2;
7 result = number1 / number2;
```
The variable number1 is assigned the value 50. The variable number2 is assigned the value 4. The variable result is assigned the value 12.
Computer Science & Information Technology
You might also like to view...
An icon is a graphic image, like a drawing or photograph
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following techniques is used to maintain acceptable data traffic performance?
a. WFQ b. WRED c. CQ d. None of the above
Computer Science & Information Technology