ok
Type: Posts; User: Java girl
It says index cannot be resolved to variable, do i have to declare index as 0?
System.out.printf("%d",B);
Exception in thread "main" java.util.IllegalFormatConversionException: d != [I
at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045)
at...
I replaced the 11 with 10, same problem :/
How do u copy all the elements in an array eg A into another array eg B?
This is the question:
An array A contains integers that first increase in value and then decrease in value,
for example,...