JavaScript is required to use Bungie.net

OffTopic

Surf a Flood of random discussion.
12/12/2005 11:30:19 PM
33

i need help with QBASIC

ok I hope this doesn’t get locked but this is the only place I can go to get help. ive tried googling it but i cant find anything. So to keep me from failing my college class, please help. Ok my teacher wants me to replace my PRINT command with something else so that more data will be displayed. Does anyone know what commands can replace PRINT in order to display something else? Here is my program. REM description: this program calculates REM the billing amount for a REM company running a copying REM service REM--------------------------------------- REM *The first 500 copies are billed at REM 5 cents per copy REM REM *The next 500 copies are billed at REM 4 cents per copy REM REM *Any additional copies are billed at REM 3 cents per copy REM--------------------------------------- REM Customer Copies REM ----------------------------- REM XYZ Amalgamated 1,200 REM ABC Industries 200 REM TR Systems Limited 800 REM REM*************************************** CLS PRINT "Customer: Billing Amount:" PRINT " " READ cust$, Copies DO WHILE cust$ <> "end" IF Copies > 1000 THEN LET a = ((Copies - 1000) * .03) + 45 PRINT cust$; " $"; a ELSEIF Copies > 500 THEN LET b = ((Copies - 500) * .04) + 25 PRINT cust$; " $"; b ELSE LET c = Copies * .05 PRINT cust$; " $"; c END IF READ cust$, Copies LOOP REM**************data statnments********** DATA "xyz Amalgamated", 1200 DATA "ABC Industries", 200 DATA "TR Systems Limited", 800 DATA "end", END
English
#Flood #Offtopic

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
You are not allowed to view this content.
;
preload icon
preload icon
preload icon