Here's what I'm working on:

Write a program that prompts the user for a value and creates an integer array of that size. Prompt for initial values (unordered) to populate the array. Your program must include code to prevent the user from entering a non-integer value (such as a symbol or a letter) for the size of the array as well as for any of the array elements. Write 4 methods: The first prints the values in the array, the second returns the average value of the array. The third finds the smallest element, and the fourth finds the largest element. Output the array data and the three calculations.

I was able to write some code in my program that printed everything out the way it was supposed to look, but then I went back and re-read the instructions and realized that I need to write a separate method for that. I can't figure out how to do it and am on the verge of going on a stabbing rampage. This is due by 11:59pm tonight or I lose credit on it, and I've been slamming my head against the desk for a day and a half. Please help.

Here's what I have:

Code:
import java.util.*;
public class Assmt6 
{

	public static void main(String[] args) 
	{
		Scanner input = new Scanner	(System.in);
		try
		{	System.out.print("Enter size of array: ");
			int num = input.nextInt();
			int[] someNumbers = new int[num];
			
			try
			{
				for(int i=0; i<someNumbers.length; i++)
				{
					System.out.print("Enter value #" + (i+1) + ": ");
					someNumbers[i] = input.nextInt();
				}	
		//This prints out the data, but I can't figure out how to do it in a separate method.
				System.out.println("\nYour Data is: ");
				for(int i=0; i<someNumbers.length; i++)
				{	
			        System.out.println(someNumbers[i]);
				}
			}
			
			catch(InputMismatchException error)
			{
				System.out.println("Invalid array element -- please enter an integer value");
			}
		
			
		}
	
		catch(InputMismatchException error)
		{
			System.out.println("Invalid array size -- please enter an integer value");
		}
		
		
	}		
}