#include
voidmain()
{charch1;
printf("Please enter a lowercase letter\n");< /p>
scanf("%c",&ch1);
printf("Otal=%o, Decimal=%d, Hexadecimal=%x, Character=%c" ,ch1,ch1,ch1,ch1);
getch();
}
This is the easiest to run.
But it is not robust, and there is no error message when you enter capital letters, etc....