Anonymous
public text v1 · immutable#include <stdio.h>
int main ()
{
char x;
printf ("Please type one character: ");
x = getchar ();
while (x != EOF)
{
printf ("The character you typed was ");
putchar (x);
printf ("\n\nPlease type another character ");
x = getchar ();
}
getch ();
}