/// Name: Connor Siri /// Period: 7 /// Program Name: Count /// File Name: Count.java /// Date Finished: 12/2/2015 import java.util.Scanner; public class Count { public static void main( String[] args ) { Scanner keyboard = new Scanner(System.in); System.out.print("Count to: "); int x = keyboard.nextInt(); for ( int n = 1 ; n <= x; n = n+1) { System.out.print( n + " " ); } System.out.println(""); } }Picture of the output