public void breakmethod () {
		 
	    while (true) {
	      System.out.println("Input an integer");
	      n = input.nextInt();
	 
	      if (n == 0) {
	        break;
	      }
	      System.out.println("You entered " + n);
	    }
	  }