///Name: Prooz Fereydouni ///Period: 7 ///Project Name: Counting Machine ///File Name: CM.java ///Date: 3/1/2016 import java.util.Scanner; public class CM { public static void main( String[] args) { int count; Scanner keyboard = new Scanner(System.in); System.out.print("Count to: "); count = keyboard.nextInt(); for ( int i=1 ; i <= count ; i= i+1) { System.out.print(i + " "); } System.out.println(""); } }