I am new to Java and can not figure out why I am getting this error for swithc case.
champagne 0 Newbie Poster
Recommended Answers
Jump to Post1) Please post your code here.
2) Make sure you indent your code properly
3) Use [code][/code] tags
4) Post what error messages you get.
Jump to PostYou have two curly bracklets on start of switch statement and only one on closing
switch (sCode){ { case 'c': case 'C':
so delete one.
However once this done there is another 13 error messages which you need to sort. GL
All 5 Replies

iamthwee
venkatev 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
champagne 0 Newbie Poster
orko 36 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.