by analog31 · 4y ago · 0 comments
10 INPUT "Height above sea level(m)", H
20 D=SQR(2*6367.45*(h/1000.0)
30 PRINT "Distance to horizon", D
RUNBASIC even had crude array math via the MAT statement though I don't recall the details.
I got to my senior year, second semester, and had a meeting with my advisor to make sure I had met all of my graduation requirements. He looked at my record and said: "Hey, you were supposed to take a programming class. But you know how to program, don't you?" I said yes. He checked the box to waive that requirement for me. Then I started breathing again.