Qbasicnews.com

Full Version: New Challenge Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
wow!!!!!, I'm a Guru!!!! Big Grin Big Grin Big Grin Big Grin
Quote:wow!!!!!, I'm a Guru!!!! Big Grin Big Grin Big Grin Big Grin
Not for much longer ;-) heh
Cooooool, "Surfing Keyboard" Big Grin
Heres a challenge for your skills at programming. Hopefully this isnt too easy and yes I do have a solution for this already:

You are to write a program that has a produces a textmode triangle for any given number i. The output should look like the following:

i = 3
#
##
###
##
#

The trick is you are only allowed one loop(for, while, etc) and one if statement, you cannot use anything else (such as switch, else, etc). You also cannot use hardware calls such as peek and poke.
BTW, I think the peek/poke challenges are a bit boring because they test hardware knowledge rather than programming skill. *Ducks and covers*
:roll:
I've locked this topic and started a new thread for the current challenge. Otherwise this thread would become enourmous. I'll make another thread for you to post your challenges in and I'll post them one by one.
Pages: 1 2 3 4 5