it seems that the letter variables that the user inputs are all converting to decimal numbers according to ASCII, like a=97,b=98,etc....
char variables are, basically, integers. Each ASCII character has a corresponding numerical integer value, as specified by the standard. You can perform numerical operations on them like any other integer, except that the maximum value a single unsigned char can hold is 255.
You can declare three separate variables like this:
1 2 3
Here's how to declare an array of three variables: int score;
Using an array is often simpler.
To access each element, use a subscript in the range 0 to 2.
These two lines do more or less the same thing: