rep it code example
Example: repl it
#include <stdio.h>
int main()
{
char ch;
printf("\nDigite um caracter: ");
scanf("%c",&ch);
printf("\nCaracter digitado: %c: %d", ch, ch);
return 0;
}
#include <stdio.h>
int main()
{
char ch;
printf("\nDigite um caracter: ");
scanf("%c",&ch);
printf("\nCaracter digitado: %c: %d", ch, ch);
return 0;
}