This is my code so far

char encoded_character = NULL, plaintext_character = NULL;




//3.1 Get encoded_character and plaintext_character from user
printf("Please input your plaintext character ");
//3.2 Scan
scanf("%c", &plaintext_character);
//3.3 Charcater encoded
encoded_character = 10 + (plaintext_character - 'a') + 'A';
//3.4 printf encoded character
printf("encoded_character is = %c\n",encoded_character);




but it does not run. What did i do wrong?