Assignemnt #65 and Keep Guessing Counter

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Keep Guessing Counter
/// File Name: KeepGuessingCounter.java
/// Date Finished: 1/4/2016

import java.util.Scanner;

public class KeepGuessingCounter
{
	public static void main( String[] args )
	{
		Scanner keyboard = new Scanner(System.in);
		int number = 6; int counter;
        
        counter = 0;

		System.out.println("I have chosen a number between 1 and 10. Try to guess it.");
		int entry = keyboard.nextInt();
        counter++;

		while ( entry != number )
		{
			System.out.println("\nINCORRECT. TRY AGAIN.");
			System.out.print("ENTER THE NUMBER: ");
			entry = keyboard.nextInt();
            counter++;
		}

		System.out.println("\nAwesome. You guessed correctly!");
        System.out.println();
        System.out.println( " It took you " + counter + " tries! " );
	}
}