C Programming
#include
#include
void main()
{
int a,t=0;char c;
clrscr();
while(t!=1)
{
c=getch();
//scanf("%c",&c);
a=(int)c;
switch(c)
{
case 'e':
t=1;
break;
}
printf("\ncharectar =%d",a);
}
getch();
}
0 comments:
Post a Comment