帮忙给看一下这个程序,我想把偶数存在a[]数组里,把奇数存在b[]数组里,并打印输出?class TestInteger {public static void main(String[] args) { int[] a = new int[15]; int[] b = new int[15]; int x = 0,y = 0; for(

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/27 13:43:19
帮忙给看一下这个程序,我想把偶数存在a[]数组里,把奇数存在b[]数组里,并打印输出?class TestInteger {public static void main(String[] args) {    int[] a = new int[15];    int[] b = new int[15];    int x = 0,y = 0;    for(

帮忙给看一下这个程序,我想把偶数存在a[]数组里,把奇数存在b[]数组里,并打印输出?class TestInteger {public static void main(String[] args) { int[] a = new int[15]; int[] b = new int[15]; int x = 0,y = 0; for(
帮忙给看一下这个程序,我想把偶数存在a[]数组里,把奇数存在b[]数组里,并打印输出?
class TestInteger
{
public static void main(String[] args)
{
int[] a = new int[15];
int[] b = new int[15];
int x = 0,y = 0;
for(int n=2;n

帮忙给看一下这个程序,我想把偶数存在a[]数组里,把奇数存在b[]数组里,并打印输出?class TestInteger {public static void main(String[] args) { int[] a = new int[15]; int[] b = new int[15]; int x = 0,y = 0; for(
for(x=0; x