human
Who was the first person to write a computer program?
assistant
That would be Charles Babbage. He was the inventor of the first mechanical computer, the Analytical Engine. The Analytical Engine was a mechanical computer that could perform mathematical operations. It was designed to calculate tables of numbers, but it could also be used to perform other calculations.