The ENIAC was a large, general-purpose digital computer built to compute ballistics tables for U.S. Army artillery during the second world war