June is not the best time for diving Znz or Pemba (currents, wind, visibility), but not the worst either. I have dived Zanzibar year round, and there have always been some excellent dives, some average dives and some rather boring dives, no matter which time of year.
The best diving in Zanzibar...