Penny Doubling is it better than 1 million dollars over 30 days?

I wrote two penny doubling programs for my newsletter, and the one I’ve uploaded here is the small one. It got me wondering if anyone wants to build on it.

The second one is a lot bigger, but I thought this might be a fun place to start. Does anyone want to update it, play with it, and see if we can turn it into a combined vintage computer BASIC program that works across a lot of platforms?

How creative can we get while still staying compatible?

10 REM PENNY DOUBLER
20 A=0.01
30 FOR D=1 TO 30
40 PRINT “DAY “;D;” = $”;A
50 A=A*2
60 NEXT D

Microbee Microworld BASIC has a problem mixing REAL and INTERGER numbers, so the above converts to this and runs just fine.

MIcrosoft BASIC-80 ver 5.30 running under CP/M 2.2 runs fine without any modifications but different numbers compared to the MIcrobee.

That’s interesting…

I have worked with Atari’s version of MS BASIC but not the CPM version guess i will have to check it out… I have been using the Atari Version

TRS-80 Basic Level 2 which is based on a Microsoft BASIC also runs unaltered