///Name: Morgan Kaplan ///Period: 5 ///Project Name: Counting Machine ///File Name: CM.java import java.util.Scanner; public class CM { public static void main( String[] args ) { Scanner momo = new Scanner(System.in); System.out.print( "Count to: " ); int a = momo.nextInt(); for ( int n = 1 ; n <= a ; n = n+1 ) { System.out.println("" + n + ""); } } }