Before 1975, computer science degree programs were pretty thin on the ground. Most of the Turing Award winners have degrees in physics, mathematics, or electrical engineering, which were closely related to CS.
Fortunately, today, you can become interested in CS topics and easily find a CS program without going through one of the other disciplines.