求模, 就是求余数
这么简单的题不会就去看书,再不会就别学了。浪费时间
public static void main(String[] args) { int[] xA = {3,8,2,1,9}; int[] yA ={11,18,13,17,12}; System.out.println(yA[1] % xA[4]); }