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
|
|
|
 |
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...
|
 |
| |
|
|