how to do scanf in c with char code example
Example 1: how make a character in c scanf
scanf(" %c", &c);
Example 2: how to scanf in c
#include <stdio.h>
int main()
{
int testInteger;
printf("Enter an integer: ");
scanf("%d", &testInteger);
printf("Number = %d",testInteger);
return 0;
}