int i = 1,j = 10; do { if(i>j) { break; } j--; } while (++i <5); System.out.println(“i =” +i+” and j = “+j); What is the result?()
- A、 i = 6 and j = 5
- B、 i = 5 and j = 5
- C、 i = 6 and j = 4
- D、 i = 5 and j = 6
- E、 i = 6 and j = 6
正确答案:D
答案解析:有
微信扫一扫手机做题
int i = 1,j = 10; do { if(i>j) { break; } j--; } while (++i <5); System.out.println(“i =” +i+” and j = “+j); What is the result?()
微信扫一扫手机做题