Forum : Using Switch to display the grades
Brief description  about Online courses   join in Online courses
View Sai Naren  Kondisetty 's Profile

Using Switch to display the grades

Hi all,
Can any one explain me what's wrong in the following code...
switch (grade)
{
case ((grade <= 100)
Asked by Sai Naren Kondisetty | Nov 18, 2009 |  Reply now
Replies (1)
View sanjay s nair 's Profile
switch(grade){
case '1': variable = "something";break;
case '2': variable = "somethingelse";break;
default:break;
}
Nov 19, 2009