Executing the following program is producing the following result, please explain the reason why the value of sum is 120 and of price is 100.
double sum=10, price =100;
sum+=price>=100?price * 1.1 : price;
Syso(sum);
Syso(price);
The output is 120 100