“ans = 60, x = 0, y = 50”,”What will be the values of ans, x, and y after the following statements are executed?int ans = 35, x = 50
y = 50;if (x >= y) { ans = x +10;x-=y; }else { ans = y +10;y +=x; }”
The goto resource for studying materials
“ans = 60, x = 0, y = 50”,”What will be the values of ans, x, and y after the following statements are executed?int ans = 35, x = 50
y = 50;if (x >= y) { ans = x +10;x-=y; }else { ans = y +10;y +=x; }”