Pascal's Triangle for the APPLE-1

1 post / 0 new
landonsmith's picture
Online
Last seen: 1 hour 50 min ago
Joined: Dec 17 2025 - 14:24
Posts: 27
Pascal's Triangle for the APPLE-1
AttachmentSize
Plain text icon pascaltriangle_intbasic.txt684 bytes

 Hi folks. Thought I'd showcase a small Integer BASIC program I wrote up this afternoon whilst being bored...This is a "Pascal's Triangle" generator. Pascal's Triangle, of course, is a triangular array of numbers where each number is the sum of the two numbers directly above it...simple enough. The current version of this program has the ability to generate up to 10 rows of the array.

Works well with APPLE1JS and The HoneyCrisp Emulator. I have yet to test it on my REPLICA-1 Plus. The source-code is attached.

 

Cheers,

Landon