Computer Science Canada Qbasic help please! |
Author: | theanimator [ Thu Feb 16, 2006 10:49 am ] | ||||
Post subject: | Qbasic help please! | ||||
I was wondering if anyone could help me with Qbasic? if so, i need help with this code:
basically when I run it, the program is supposed to look like this run:
|
Author: | codemage [ Thu Feb 16, 2006 1:44 pm ] | ||
Post subject: | |||
You can do that with two for loops. In Turing, it would look like:
|
Author: | theanimator [ Thu Feb 16, 2006 5:14 pm ] |
Post subject: | |
ok, but i need it for Qbasic. So, for two loops, how? i've tried but can't figure it out. |
Author: | [Gandalf] [ Thu Feb 16, 2006 5:48 pm ] | ||
Post subject: | |||
Oh! BASIC! Let's see what I remembers... Ok, normally I shouldn't give you the answer, but this will be an exception since it is a fairly simple program. See what I am doing and learn from it. So here it is:
Note that you can have the INPUT statement on just one line. |
Author: | theanimator [ Fri Feb 17, 2006 8:13 am ] |
Post subject: | |
thank you for the help. I just don't understand the nested loops so much. I am starting to understand them more tho. I might be back again for help. Thanks again. |