ACURA MDX . ORG
www.acuramdx.org ACURA MDX . ORG Archive > Off Topic > Computers & High Tech
 
Does anyone know the computer language BASIC - Click HERE for Original Thread
Advertisement
Compaq
Does anyone one know the computer language BASIC "I think that is what it is called". I am using the computer program Qbasic.

Can you write a couple of programs for me. The first one is "Flip a coin 100 times. Print the percentage of heads and tails. Repeat 5 times and print total percentage.

Draw a large plus sign in graphics mode

In graphics mode draw a 8 x 8 checkerboard with alternating dark and light squares


Thank You for all your help
Warzau
Sounds like homework to me.;) BTW Wrong forum. Im moving this.
XStatic
Gees, do it yourself. Odds are everyone here knows basic, if you try and run into trouble I am sure someone will help, but you are going to have to try on your own.

Of course you could probably just google some examples....
HARDROCK
There is a reason why it was called "Basic"...
Advertisement
TheWorm
BASIC? That's so 70's. Are you writing it on a Commodore PET? A "Trash 80"?

Hmmm, let's see how much I remember from then...we're talking 25 yrs or so...

let's count to 10

10 BEGIN
20 SET X =0
30 LET X = X +1
40 PRINT X
50 IF X = 10 GOTO 70
60 GOTO 30
70 PRINT "ALL DONE!"
80 END

Let me know if it works :) I wrote a Yahtzee program in BASIC, once upon a time (7th grade).
Warzau
LOL Worm that brings back memories!
XStatic
quote:
Originally posted by TheWorm
BASIC? That's so 70's. Are you writing it on a Commodore PET? A "Trash 80"?



In 1991 I ran out of time getting an assembly program to work so I used a BASIC interpreter for a Motorola 68HC11 for the code on an autonomous robotic device we entered in the SoutheastCon Hardware Design Competition.

While this led my system to run a bit slow, we (TN Tech) managed to win beating VA Tech, GA Tech, MIT, Clemson, etc.
Lance Crowley
I've written many BASIC programs. There is no better way to write a very functional program in a very short period of time, particularly when compared to C++ or some of the other low level products. The new BASIC products from PowerBasic and Microsoft no longer require line numbers and have extensive structure elements that allow tight and fast code.

The new BASIC products support CASE statements, multi line IF/ELSEIF/ELSE statements and will allow addressing code from other compilers and much more. BASIC is not "your fathers Oldsmobile" any more.

It's a very good way to learn how to program and there are many excellent books on the subject. I highly recommend the PowerBasic products. They have a very good website, just enter PowerBasic in the Google search engine.

Powered by: Search Engine Indexer and vBulletin v2.2.9
Copyright © 2000 - 2002, Jelsoft Enterprises Limited
Copyright 2000 Acuramdx.org. All Rights Reserved.