Which of the following statements doubles the value stored in answer?

A) answer += 2;
B) answer *= 2;
C) answer = answer * 2;
D) All three of the above
E) Both B and C, but not A

E) Both B and C, but not A

Computer Science & Information Technology

You might also like to view...

Ergonomics explains how to set up a workspace for optimal productivity

Indicate whether the statement is true or false

Computer Science & Information Technology

The term ________ is used to describe items that are adjacent to another

A) non-continuous B) synchronous C) contiguous D) continuous

Computer Science & Information Technology