?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Easy

Expression Evaluation

APCSA-NILLFM

What is the value of num after the numeric expression is evaluated?

 int num = (int)(5 % 3 + 7 * 3.5 - 5 /2);
A

24.5

B

24

C

13.25

D

13

E

25