Welcome to Gaia! :: Basic Programming Help | Forum

Register FaceBook Login Login

 

 
GST

Welcome to Gaia's forums, where millions of members gather to discuss random stuff, make new friends,
complain about life, argue about nothing, laugh at dumb pictures, discuss serious issues and/or curse like sailors.

Lurking is creepy. Quit skulking in the shadows and join the conversation!

Register to reply

Advertisement
Share:  
forum:43, topic:9517956
Post: 9517956_1 created on Mon Aug 15, 2005 7:59 amPosted: Mon Aug 15, 2005 7:59 am
Can anyone turn the following output into Quick Basic codes:

54321
5432
543
54
5

It's our homework for computer class. I know there's more to it than meets the eye so I'm guessing the codes used are not just print, print and print.

Thanks a bunch! heart
 
     
Post: 9517956_2 created on Mon Aug 15, 2005 8:02 amPosted: Mon Aug 15, 2005 8:02 am
 
Usualy I wouldn't help with something this trivial. But think "divide and round".
     
Post: 9517956_3 created on Mon Aug 15, 2005 8:16 amPosted: Mon Aug 15, 2005 8:16 am
Galphenos has it right. If this is for a programming class, they will want the program to do the calculations, not you. Printing out 54321,5432,543,54,5 would defeat the point.
 
     
Post: 9517956_4 created on Mon Aug 15, 2005 4:03 pmPosted: Mon Aug 15, 2005 4:03 pm
 
I'd choose loops.
That is so worthy of loops...
     


Support PC gaming!
Check out The FPS Guild!

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

We will be phasing out support for your browser soon.

Please upgrade to one of these more modern browsers.