source file name: Switch4.C

#include <stdio.h>

int   main() 

{

int lang;

//clrscr();

printf("\n enter 1 to 5 numbers for programming Languages:");

scanf("%d",&lang);

  switch (lang)

{

  case 1:

printf("C\n");   break;

  case 2:

printf("C++\n");   break;

  case 3:

printf("C#\n");    break;

  case 4:

printf("Java\n"); break;

  case 5:

printf("python\n"); break;

  default:

    printf("Other programming language\n");

    }

// getch();

return 0;

}

output: