Assignemnt: Program #80 and Counting Machine

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Counting Machine
/// File Name: countingmachine.java
/// Date Finished: 2/18/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 cTo = keyboard.nextInt();

		for(int i = 0; i <= cTo; ++i) {
			System.out.print((i < 10?" ":"") + i + "  ");
			if(i % 10 == 0 && i != 0) {
				System.out.print("\n    ");
			}
		}
		System.out.print("\n ");
	}
}