public void reserve(int num)
	{
		if(num >= 0 && num < seat.length && !seat[num])
		{
			seat[num] = true;
			System.out.println("the seat is reserved for you");
		}
		else
		{
			System.out.println("already reserved or invalid number");
		}
	}