User: Who invented the first computer?
Assistant: The first computer was the ENIAC, built by John Mauchly and J. Presper Eckert in 1946. It was the first general-purpose electronic computer. It was built to calculate the trajectories of ballistic missiles, and it used about 10,000 vacuum tubes.