#include<stdio.h>
#include<conio.h>
void main()
{
int ch;
clrscr();
printf("\n enter the character");
scanf("\n %c",&ch);
switch(ch)
{
case 1:
getch();
}
#include<conio.h>
void main()
{
int ch;
clrscr();
printf("\n enter the character");
scanf("\n %c",&ch);
switch(ch)
{
case 1:
printf("\n
you are in choice 1");
break;
case 2:
printf("\n
you are in choice 2");
break;
case 3:
printf("\n
you are in choice 3");
break;
default:
printf("\n your option
is wrong");
break;
}getch();
}