@ Norm, I want the code to display 5 integers from first to last then last to first.
Type: Posts; User: beginnerjava
@ Norm, I want the code to display 5 integers from first to last then last to first.
Fixed the semicolon and added the int values.
[CODE] public static void main (String[]args)
{
//create an array to hold 5 integers
int [] array = new int [5];
int i=0;
...
Very new to Java and am trying to create an array that has 5 integers and display them from first to last and last to first. What I have so far:
public class arrayex {
public static void...