请阅读下面的程序 public class Test { public static void main(String[] args) { int m = 37;

请阅读下面的程序 public class Test { public static void main(String[] args) { int m = 37; int n = 13; while (m != n) { while (m > n) { m -= n; } while (m < n) { n -= m; } } System.out.println("m=" + m); } } 下列选项中,哪一个是正确的运行结果() A、m=37 B、m=13 C、m=1 D、m=2

时间:2023-09-14 11:16:04

相似题目