Switch

im using switch statement i get error on part that i will assign a variable on case..im using a rand im asking how do i put the randvalue to case cause when i doing it computer tells "case label does not reduce to an integer constant"..when i putting ' ' computer tells it is a char..
Topic archived. No new replies allowed.