If you enter f you cause an error because it is expecting an integer. You can convert the a char to an integer. If you want to turn a result if you enter f you have to options:
1.
char input;
std:cin >> input;
if((int)input == 102){
.....
2.
char input;
std:cin >> input;
if(input == 'f'){
.....
EDIT:
If you want to print the Alphabet in descending order Michael Roy had a nice solutions but in accesnding order
if....
for(char i = input; i >= 'a'; --i)
cout << i - 32; //the 32 is for converting the lower case char into upper case
cout << '\n';
So in total it could look something like this:
char input;
std:cin >> input;
if('a' < input < 'z'){
for(char i = input; i >= 'a'; --i)
cout << i - 32;
cout << '\n';
}else{
cout << "Not a valid input";
}
System("Pause");//so the console doesn't close automatically