What does it mean in the C programing language when it says"case 1 not within a switch statement.?

I am trying to put together a program with 2 do while s and a switch statement By SJoannScase 1 means: if the result/variable is 1, then do (the line beneath case1)
tht'd b a syntax error..no case outside switch AFAIK..u betr do some logical alternatives..
prasad
Check your curly braces. They might not be paired properly, or one of them's missing a partner. Hope I helped. :)
I think the other answers are good answers for what we were given. Next time, if you can condense the problem down to a few lines and post that, you will probably get a more precise answer. Happy coding...