Computer Science Canada

CASE STRUCTURES

Author:  mtk786 [ Wed Feb 25, 2004 7:02 pm ]
Post subject:  CASE STRUCTURES

u knw case structures...
case

a quiz that asks questions and then gives the answer and if the answer the user entered is wrong then u give the correct answer..and it has to be like if enter numbers on an a or b or c or d question its suppose to gimme plz enter a or b or c or d...so basically instead of using if i gottta use case

case
label
iunoo

so basically need help with case strucutues...asap..plz
tnks
mtk

Author:  omni [ Wed Feb 25, 2004 7:08 pm ]
Post subject: 

you might want to use proper grammar and NOT use 'u' and 'plz'

case choice of

label "A":

//do stuff here

label "B":
// more
etc..

Like that?

Author:  shorthair [ Wed Feb 25, 2004 8:24 pm ]
Post subject: 

Well to keep a long flame short , please read the rules for compsci , im not going to bother writing them out , you need to look at them and also please make referance to the TURING REFERANCE , hit f10 or f9 AND WONDERS will happen for you , please also cosult the compsci search bar , it will help you alot , do all of this and then post your question ,i will garuntee you could have found this in the referance HAVE A NICE EVENEING


: