import java.io.*; import java.util.*; public class Reverse { public static void main(String[] args) throws FileNotFoundException { int size; Scanner input = new Scanner(new File("reverse.data")); size = input.nextInt(); System.out.println("Reading file of size " + size); System.out.println(); int[] x = new int[size]; for (int i=0; i