The code breakers were able to warn of the planned Japanese attack and
this gave the allies the advantage at the battle of coral sea.The allies were able to predict the plans of Japanese attack and
invasion beforehand and this helped the Allies to make their plans
accordingly. The Japanese were very surprised at the response they got
from the allied forces and the response from the allied forces also
damaged vital aircraft carriers of the Japanese army as well.