Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How Can I Improve This Program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
solblade05




PostPosted: Tue Jan 03, 2006 3:03 pm   Post subject: How Can I Improve This Program

This Program is meant for elementary children


Mp.t
 Description:

Download
 Filename:  Mp.t
 Filesize:  22.27 KB
 Downloaded:  148 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
DIIST




PostPosted: Tue Jan 03, 2006 5:28 pm   Post subject: (No 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.
solblade05




PostPosted: Tue Jan 03, 2006 6:29 pm   Post subject: (No subject)

yeah i do go to MCI, what are arrays??
DIIST




PostPosted: Tue Jan 03, 2006 9:33 pm   Post subject: (No 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! Laughing
He says he'll get to it eventually! Cool
solblade05




PostPosted: Wed Jan 04, 2006 10:35 am   Post subject: (No subject)

Thanks, i'll try to understand... Smile
By the way Mr.Ganesh is my teach too! Very Happy
Saad85




PostPosted: Sun Jan 08, 2006 3:16 am   Post subject: (No 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?
Cervantes




PostPosted: Sun Jan 08, 2006 8:16 am   Post subject: (No 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: