Help please!


#1

Please help I've been work at this for awhile.

Continents.java:33: error: reached end of file while parsing
}
^
1 error


public class Continents {
	public static void main(String[] args) {

		int continent=4;
      switch(continent){
    
    case 1:
    System.out.println("North");
    break;
    
    case 2:
    System.out.println("South");
      break;
    case 3:
    System.out.println("Europe");
      break;
    case 4:
    System.out.println("Africa");
      break;
    case 5:
    System.out.println("Asia");
      break;
    case 6:
    System.out.println("Australia");
      break;
    case 7:
    System.out.println("Antartica");
      break;
    case 8:
    System.out.println("Undefinded continent!");
      break;
	}
}

Thanks!


#2

You need another closing curly bracket (}) at the end of your file.


#3

Awesome!

Thanks for the help!


#4