The first fully electronic and programmable digital computer was the Atanasoff-Berry Computer (ABC), invented by John Atanasoff and Clifford Berry at Iowa State University in 1942.
The ABC was not designed for general use, but instead was designed specifically to solve a system of linear equations.