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
#Offtopic #Flood

Posting in language:

 

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

  • *brain failure*

    Posting in language:

     

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

  • This thing right here --------> " Im pretty sure it recognizes that as PRINT. [Edited on 12/12/2005]

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] lilshorty6478 *brain failure*[/quote] its actually a very simple program. if u brain failed i would try upgrading ur RAM

    Posting in language:

     

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

  • wtf !?! *head explodes*

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] MCs-blam!- This thing right here --------> " Im pretty sure it recognizes that as PRINT.[/quote] really i didn’t know that, but i don’t think that’s what he wants. i think he wants it to display like the data differently on the output screen

    Posting in language:

     

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

  • hehe. post this in zanzibar and see what happens.

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] XxTaterSaladxX wtf !?! *head explodes*[/quote] Wow if ur head is exploding i would seriously consult a geek. u may have a virus

    Posting in language:

     

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

  • This is a simple program. You shouldnt have brain failure.

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] richcricketz [quote][b]Posted by:[/b] XxTaterSaladxX wtf !?! *head explodes*[/quote] Wow if ur head is exploding i would seriously consult a geek. u may have a virus [/quote] . [Edited on 12/12/2005]

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] XxTaterSaladxX hehe. post this in Zanzibar and see what happens. [/quote] i can tell u what would happen right now. shaskta takes one look at it, pulls up my IP address, finds my home address, drives to Arizona, and blacklists my account with my own computer

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] richcricketz [quote][b]Posted by:[/b] XxTaterSaladxX hehe. post this in Zanzibar and see what happens. [/quote] i can tell u what would happen right now. shaskta takes one look at it, pulls up my IP address, finds my home address, drives to Arizona, and blacklists my account with my own computer [/quote] u mean shishka?

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] MCs-blam!- This thing right here --------> " Im pretty sure it recognizes that as PRINT.[/quote] nope not working. got any other ideas

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] XxTaterSaladxX [quote][b]Posted by:[/b] richcricketz [quote][b]Posted by:[/b] XxTaterSaladxX hehe. post this in Zanzibar and see what happens. [/quote] i can tell u what would happen right now. shaskta takes one look at it, pulls up my IP address, finds my home address, drives to Arizona, and blacklists my account with my own computer [/quote] u mean shishka?[/quote] Hey i live in Arizona. Wait i mean *head implodes*

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] XxTaterSaladxX u mean shishka?[/quote] yea i mean shishka. but considering its not a real word...i can never rember how to spell it

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] dr rocko Hey i live in Arizona. Wait i mean *head implodes*[/quote] yea, ime sitting at the mesa community college library right now. Seems I am one of a few slackers still doing home work on the 12 of December

    Posting in language:

     

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

  • Doing homework on a school day? What have you become!

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] dr rocko Doing homework on a school day? What have you become![/quote] Dude school is out in like 2 days. i should be studying my ass off for finals, not trying to finish some programs from like 2 months ago. Now does anyone know what i can replace PRINT with!!?? hey mods are smart i bet they could answer my question. o wait if they were smart they wouldn’t be mods. jk but i had to do it hahahaa [Edited on 12/12/2005]

    Posting in language:

     

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

  • if i dont figure this out my teacher WILL fail me

    Posting in language:

     

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

  • [url=http://www.bungie.net/Account/Profile.aspx?memberID=98421]PM this guy.[/url] He should be able to help. I would like to help but I know a little C++ and Delphi5 but thats it.

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] WarLordLAN [url=http://www.bungie.net/Account/Profile.aspx?memberID=9842 1]PM this guy.[/url] He should be able to help. I would like to help but I know a little C++ and Delphi5 but thats it.[/quote] thanks dude, i hope i just PM'd bill gates cuz i think he is the only person who can help me now

    Posting in language:

     

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

  • Sorry I don't know qbasic. You could post this in the [url=http://www.bungie.net/fanclub/81112/Forums/topics.aspx?f orumID=87069]Mathematics Group[/url] and get an answer from kwinse. If it was c I might be able to help. I'm not sure I understand the issue either. What is it doing wrong, and what would you like it to do. I maybe able to google it. [Edited on 12/12/2005]

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] kd5shw Sorry I don't know qbasic. You could post this in the [url=http://www.bungie.net/fanclub/81112/Forums/topics.aspx?f orumID=87069]Mathematics Group[/url] and get an answer from kwinse. If it was c I might be able to help.[/quote] error error..cannot find link. yea we all know c++, nothing special lol

    Posting in language:

     

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

  • [url=http://www.bungie.net/fanclub/mathematics/GroupHome.aspx ]fixed[/url] I'm not sure I understand the problem you are having too well either. What do you mean by "more data"? [Edited on 12/12/2005]

    Posting in language:

     

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

  • [quote][b]Posted by:[/b] kd5shw [url=http://www.bungie.net/fanclub/mathematics/GroupHome.aspx ]fixed[/url] I'm not sure I understand the problem you are having too well either. What do you mean by "more data".[/quote] Neither do i...but...i think he wants it to display the data in a different way. a different look if u will

    Posting in language:

     

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

  • Do you mean like changing the form background, font size, centering, etc.? Or do you mean like displaying 5 as 5.00 or something like that? In Visual BASIC you use FormatNumber and FormatCurrency for the latter. I don't know if it's the same for QBASIC though. Maybe it's because you have "$" in your print statement. In VB, if you use FormatCurrency, the "$" will appear automatically.

    Posting in language:

     

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

  • I'm a Junior in high school and taking a Design and Logic programming class (both QBASIC and Visual Basic are in the curriculum). Even [b]I[/b] don't understand what you mean by different displays for output info. Sorry.... [Edited on 12/12/2005]

    Posting in language:

     

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

1 2
You are not allowed to view this content.
;
preload icon
preload icon
preload icon