What is value of x after the following code executes?int x = 0;int i;for (i = 0; i < 5; i++) x = 3 * x + i;
A. 18
B. 58
C. 179
D. 226
Answer: B
Computer Science & Information Technology
You might also like to view...
A ________ contains all of the related data about a single item
A) record B) data type C) property D) field
Computer Science & Information Technology
The MEDIAN function adds a group of values and then divides the sum by the number of items in the group
Indicate whether the statement is true or false
Computer Science & Information Technology