单选题:After performing the following code fragment, what are the value
After performing the following code fragment, what are the values of x and y:
```
x=1,y=2;
if(x>y){
x++;
y++;
}
```
@[B](1)
A. x=1,y=3
B. x=1,y=2
C. x=2,y=3
D. x=2,y=2
A.x=1,y=3
B.x=1,y=2
C.x=2,y=3
D.x=2,y=2
答案:B
```
x=1,y=2;
if(x>y){
x++;
y++;
}
```
@[B](1)
A. x=1,y=3
B. x=1,y=2
C. x=2,y=3
D. x=2,y=2
A.x=1,y=3
B.x=1,y=2
C.x=2,y=3
D.x=2,y=2
答案:B