What is the value of sum after the following code executes?

int sum = 0;
int count = 0;
while (count < 4)
{
sum += count / 2;
count += 1;
}

2

Computer Science & Information Technology

You might also like to view...

Which of the following is not an Error Style for data validation?

A) Warning B) Information C) Stop D) Critical

Computer Science & Information Technology

The protocol used for utilities that provide a window to view the desktop of another computer is _________

a. Http b. Https c. RDP d. FTP

Computer Science & Information Technology