#include <stdio.h> int main() { char num; printf("Enter a number from 0 to 9:\n"); num = getchar(); printf("You typed in %c!\n",num); return(0); }