Assignemnt: Program #82 and Counting By Halves

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: CBH
/// File Name: CBH.java
/// Date Finished: 2/18/2016

import java.util.Scanner;

public class CBH

{
	
	public static void main( String[] args )
	
	{
		
		Scanner keyboard = new Scanner(System.in);

		int CF = -10;

		int CT = 10;

		float CB = .5f;

		for(int i = 0; i <= CT/CB - CF/CB; i++)
		{
			System.out.print(((CF + CB*i) < 10?" ":"") + (CF + CB*i) + "  ");
			
			if(i % 10 == 0 && i != 0) {
				
				System.out.print("\n");
			
			}
		
		}

	}

}