Correct Answer:
B. Codebreaking
ENIAC, the first electronic digital computer, was built during World War II to perform complex calculations, including those essential for codebreaking and military applications.