This is what I have so far.

import java.util.*; import java.io.*; class Prog68{ public static void main (String args[]){ Scanner s = new Scanner(System.in); int largest, smallest, current; System.out.print("Enter a number: "); current = s.nextInt(); smallest = current; largest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.print("Enter another number: "); current = s.nextInt(); if (largest < current) largest = current; if (smallest > current) smallest = current; System.out.println("The sum is: " ); System.out.println("The average is: " ); System.out.println("The smallest number is: " + smallest); System.out.println("The largest number is: " + largest); } }