摘要: 不能用除法,要求计算出商 和 余数 public static int[] reDiv(int a,int b){ int [] arr = new int[2]; int quotient = 0; int remainder = 0; while(a>=b){ a = a-b; quotient 阅读全文
posted @ 2022-11-23 09:22 hack2xia 阅读(42) 评论(0) 推荐(0)