title: stud.java:112: case, default, or '}' expected case1:System.out.println("enter name,rollno and percenta ge");
body: <pre><code>switch(c)
      {
          case1:System.out.println("enter name,rollno and percentage");
              c=String.parseString(sc.readLine());
              roll=Integer.parseInt(sc.nextInt());
              per=Integer.parseInt(getNumber());
              addatbegin(c,roll,per);
              break;
  </code></pre>
  
  <p>These are lines from 110 to 117
  I don't know what's the error and there about 100 such errors in my switch case.</p>