hi im trying to make it when the player types a letter it will be uppercase...it compiles and runs but does not convert to uppercase... heres the code:
Code:#include <iostream.h>
#include <ctype.h>
int main()
{
char letter;
cout<<"Enter a letter : ";
cin>>letter;
letter=toupper(letter);
std::cin.ignore();
return 0;
}