Limited access

Upgrade to access all content for this subject

Consider the following code segment.

int a = 20;
int b = 5;
int c = 4;
System.out.println(a/b+a/c+b/a+b/c+c/a+c/b);

What is printed as a result of executing the code segment?

A

11.5

B

11.25

C

11

D

10

E

a syntax error occurs

Select an assignment template