scanf any character code example
Example 1: how make a character in c scanf
scanf(" %c", &c);
Example 2: scanf
#include <stdio.h>
int main()
{
int a;
float b;
printf("Enter integer and then a float: ");
// Taking multiple inputs
scanf("%d%f", &a, &b);
printf("You entered %d and %f", a, b);
return 0;
}