o ok overlooked the equal sign sorry....
and thank you.. and uhm 1 more thing, how can i align the arrays?
is there a command like printf for arrays?
Type: Posts; User: gonfreecks
o ok overlooked the equal sign sorry....
and thank you.. and uhm 1 more thing, how can i align the arrays?
is there a command like printf for arrays?
thanks so much its working now but i dont get why an error keeps popping..
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
at lab8.Arrays.main(Arrays.java:35)
...
public class Arrays {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int x, y =0;
int [] list;
list = new int [10];
int [] list2;
list2 = new...