Ok I got a lot done so i'm hoping for some help to get the final touches in.
Code:
import java.util.*; 
public class BarEntryHW {
public static void main(String[] args){
        testTheAgeGivenTheYear() ;    }
public static void testTheAgeGivenTheYear() {
Scanner console = new Scanner(System.in);
int currentYear = 2011;    
boolean checkAdditionalAges = true;
while (checkAdditionalAges) {
        System.out.println("What year where you born in? Format:XXXX") ;
int birthYear = console.nextInt() ;
        console.nextLine() ;
int age = currentYear - birthYear;
         System.out.println("You are " + age ) ; 
if (age >21) {
         System.out.println("Come on in :)") ; }
else {
         System.out.println("You're to young") ; }
if (age == 21) {
        System.out.println("Sorry, You might be allowed in, what month where you born? Format:X") ; }
int birthMonth = console.nextInt() ;
        console.nextLine() ;
if (birthMonth <=7) {
        System.out.println("You may enter") ; }
else { 
        System.out.println("You are only 20, You may not enter :(") ; }
        System.out.println("Do you want to test any additional ages: (Y/N) ? ") ;
        String ans = console.nextLine() ;
if (ans.equals("n") || ans.equals("N")) {
        checkAdditionalAges = false;
        System.exit(0); }
else {
     (ans.equals("y") || ans.equals("Y")) 
         checkAdditionalAges = true ; }
    }
}

Last edited by shabbir; 21Jul2011 at 10:50.. Reason: Code blocks