#include <stdio.h>
int main()
{
int n;
char ch;
printf("Enter a number: \n");
scanf("%d", &n);
printf("Enter a character: \n");
scanf(" %c", &ch); // notice the space preceding %c
printf("\n\n");
printf("n = %d\n", n);
printf("c = %c\n", ch);
return 0;
}