?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Moderate

Arithmetic Operations

APCSA-YLUNLB

What value is stored in ans if:

int ans = 13 - 3 * 6 / 4 % 3;
A

0

B

-5

C

11.5

D

12

E

13