///Name: Dakota Donahue ///Period: 5 ///Project Name: ///File Name: ///Date: 3/10/2016 import java.util.Scanner; public class CountingMachine { public static void main( String[] args ) { Scanner keyboard = new Scanner(System.in); System.out.print(" Count to: "); int n = keyboard.nextInt(); for ( int x = 1 ; x <= n ; x = x+1 ) { System.out.print( x + " "); } System.out.println(); } }