What will be the value of x after the following code is executed?

```
int x = 10, y = 20;
while (y < 100)
{
x += y;
y += 20;
}
```

a. 130
b. 210
c. 110
d. 90


b. 210

Computer Science & Information Technology

You might also like to view...

SwingWorker is a _______ class.

a. anonymous inner b. composite c. nested d. generic

Computer Science & Information Technology

Write a program to read a list of nonnegative integers and to display the largest integer, the smallest integer, and the average of all the integers. The user indicates the end of the input by entering a negative sentinel value that is not used in finding the largest, smallest, and average values. The average should be a value of type double, so that it is computed with a fractional part.

The solution for this project includes a default case to print a message if no positive integers are entered.

Computer Science & Information Technology

The ____ attribute for the item marked 7 in the accompanying figure is Register.

A. selection B. option C. value D. key

Computer Science & Information Technology

List some of the elements you can create using Flash, and describe the process for adding a Flash movie to a web page.

What will be an ideal response?

Computer Science & Information Technology