Computer Science Canada How Can I Improve This Program |
Author: | solblade05 [ Tue Jan 03, 2006 3:03 pm ] |
Post subject: | How Can I Improve This Program |
This Program is meant for elementary children |
Author: | DIIST [ Tue Jan 03, 2006 5:28 pm ] |
Post subject: | |
Oh i've seen this before. Do u happen to go to MCI. I saw the same program running on the last day of school on one of our school computers. As for a way to improve it. Instead of declaring 15 font varibles use an array. |
Author: | solblade05 [ Tue Jan 03, 2006 6:29 pm ] |
Post subject: | |
yeah i do go to MCI, what are arrays?? |
Author: | DIIST [ Tue Jan 03, 2006 9:33 pm ] |
Post subject: | |
This tutorial should help. You can think of an array as list of varibles. http://www.compsci.ca/v2/viewtopic.php?t=366&highlight=arrays I used to be in Mr. Ganesh class last year. He still hasent marked my FP! ![]() He says he'll get to it eventually! ![]() |
Author: | solblade05 [ Wed Jan 04, 2006 10:35 am ] |
Post subject: | |
Thanks, i'll try to understand... ![]() By the way Mr.Ganesh is my teach too! ![]() |
Author: | Saad85 [ Sun Jan 08, 2006 3:16 am ] |
Post subject: | |
is 0 divided by 0 undefined, or 0, or 1? im pretty sure its undefined it asked me that and i was like wtf, elementry kids dont know this... do they? |
Author: | Cervantes [ Sun Jan 08, 2006 8:16 am ] |
Post subject: | |
Saad85 wrote: is 0 divided by 0 undefined, or 0, or 1? im pretty sure its undefined
Sort of, but not in the same sense that 5 / 0 is undefined. Try to evaluate 5 / 0. x = 5 / 0 x*0 = 5 (multiply both sides by 0) There is no number x that, when multiplied by 0, gives you 5. Follow the same procedure for 0 / 0. x = 0 / 0 x * 0 = 0 ANY value of x satisfies this equation. If 0 / 0 is undefined, it's because it has an infinite number of solutions. |