Assignemnt #72 Number Guessing Again

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Number Guessing Again
/// File Name: NumberGuessingAgain.java
/// Date Finished: 1/14/2016

import java.util.Scanner;

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

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

			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! " );
        
        } while ( entry != number ); 
    }
}