switch(c)
{
  case 1:
  case 2:
  case 3:
  case 4:
  case 5:
  case 6:
  case 7:
  case 8:
  case 9:
  case 10:
  case 15:
  case 16:
  case 17:
  case 18:
  case 19:
  case 20: printf("statement 1");
           break;
  default: printf("statement 2");
}

About our authors: Team EQA

You have viewed 1 page out of 252. Your C learning is 0.00% complete. Login to check your learning progress.

Learn on Youtube

#