What will be the values of ans, x, and y after the following statements are executed?执行以下语句后,ans,x和y的值是什么?int ans = 35, x = 50, y =50;if ( x >= y){ans = x + 10;x -=y;} else {ans = y + 10;y += x;}
A. ans = 60, x = 50, y =100
B. ans = 60, x =0, y =50
C. ans = 45, x = 50, y = 0
D. ans = 45, x = 50, y = 50