Determine the exact output to the following code segment:

int sum1 = 10+5;
double sum2 = 10+5.0;
int quotient1 = 15/4;
double quotient2 = 15/4;
double quotient3 = 15/4.0;
int remainder1 = 15 % 4;
double remainder2 = 17.84 % 2.3;

System.out.println("10+5 is " + sum1);
System.out.println("10+5.0 is " + sum2);
System.out.println("15/4 is " + quotient1);
System.out.println("15/4 is " + quotient2);
System.out.println("15/4.0 is " + quotient3);
System.out.println("15 % 4 is " + remainder1);
System.out.println("17.84 % 2.3 is " + remainder2);
Precedence and Assignment Op

The exact output of the code segment will be:

10+5 is 15
10+5.0 is 15.0
15/4 is 3
15/4 is 3.0
15/4.0 is 3.75
15 % 4 is 3
17.84 % 2.3 is 0.2400000000000091