Welcome to Gaia! ::

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
Usualy I wouldn't help with something this trivial. But think "divide and round".
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.
I'd choose loops.
That is so worthy of loops...

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff