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

Username:   Password: 
 RegisterRegister   
 Cannot caluate the total
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Legionoflight




PostPosted: Wed Mar 23, 2005 12:33 am   Post subject: Cannot caluate the total

I know that I am mising a lot of stuff in this code, but i can't seem to add up the total,




When i run the program, and i get one correct (on purpose) it says "Variable has no value"

What do i need to put in so that it will add up 13 of these.....

(They are all similar, with only the province and the capital different)

Thanks
Sponsor
Sponsor
Sponsor
sponsor
zylum




PostPosted: Wed Mar 23, 2005 1:01 am   Post subject: (No subject)

each question should be in for loop from 0..2. when they guess the correct answer, the total for that question is 3 - i. after finding the value, exit the loop
Legionoflight




PostPosted: Wed Mar 23, 2005 9:41 am   Post subject: (No subject)

Think i got it working..thanks
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: