Based on the description provided, wave B has a shorter distance between consecutive crests (shorter wavelength) compared to wave A. Since frequency and wavelength are inversely related (as wavelength decreases, frequency increases), this indicates that wave B has a greater frequency than wave A.
Therefore, the correct completion of the statement is:
shorter wavelength and greater frequency.