#include<stdio.h>
#include<conio.h>
void main ()
{
char ch='a';
while(ch!='\r')
{
printf("Enter the letter you
want:\n");
ch=getch();
printf("%d\n");
printf("\The Chracter you
enter%c Is %d. \n" ,ch,ch);
}
getch();
}
If you get error let us know comment in the below section Thanks
#include<conio.h>
void main ()
{
char ch='a';
while(ch!='\r')
{
printf("Enter the letter you
want:\n");
ch=getch();
printf("%d\n");
printf("\The Chracter you
enter%c Is %d. \n" ,ch,ch);
}
getch();
}
If you get error let us know comment in the below section Thanks
0 comments:
Post a Comment