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

Username:   Password: 
 RegisterRegister   
 counting points in a trivia game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
misfit




PostPosted: Tue Dec 09, 2003 4:40 pm   Post subject: counting points in a trivia game

i started making a trivia program and i need help counting the points at the end. for each question right the person gets 10 points so in the end how do i make it display the amount of points the person got.
Sponsor
Sponsor
Sponsor
sponsor
Rudiger




PostPosted: Tue Dec 09, 2003 4:47 pm   Post subject: (No subject)

i ll tell you at school ok Misfit or wehn we meet again
misfit




PostPosted: Wed Dec 10, 2003 7:50 pm   Post subject: (No subject)

rudiger you couldnt help me..can anyone else give me some help?
poly




PostPosted: Wed Dec 10, 2003 8:11 pm   Post subject: (No subject)

make a variable for points.... than when the answer is correct just have it add 10 points to the points variable...
code:

var points:int
%Blah blah blah, hey look user got correct answer
points:=points+10
[/code]
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  [ 4 Posts ]
Jump to:   


Style:  
Search: