# Computerese for beginners

Here's what a True BASIC (Beginners All-purpose Computer Instruction Code) computer program listing looks like. This program computes the growth of a \$10,000 savings account earning 8.5 percent annual interest. It gives the balance of the account each year until the balance has doubled. (Statements following the exclamation marks serve as documentation for the programmer, and are ignored by the computer.) ! Compute interest on a bank account. ! Stop when the money has doubled. ! LET money = 10,000 ! Start with \$10,000 LET original = money ! Remember that as original amount LET interest = 8.5/100 ! Interest is 8.5 percent DO until money [is greater than or equal to] 2 x original ! Loop until money doubles PRINT years, money ! Print year and money LET years = years + 1 ! Keep track of how long LET money = money + (interest x money) ! Add in interest LOOP PRINT ``In''; years ; ``years, you'll have \$''; money END -- 30 --

You've read  of  free articles. Subscribe to continue.
https://www.csmonitor.com/1985/0409/ydbasic.html
https://www.csmonitor.com/subscribe

## Subscription expired

Your subscription to The Christian Science Monitor has expired. You can renew your subscription or continue to use the site without a subscription.

This message will appear once per week unless you renew or log out.

## Session expired

Your session to The Christian Science Monitor has expired. We logged you out.