/*
john pfeiffer summer 2007
print the ascii chars and corresponding numbers then the option
*/
#include <stdio.h>
int main(void)
{ int i;
char c;
for(i=0;i<128;i++)
{ printf("%d %c !! ",i,(char)i); }
printf("\nplease press the key which you would like to see the ");
printf("ascii code for and then press enter\n");
c = getchar();
printf("%d",c);
return 0;
}