That won't do what you're expecting. Here, you're saying that "Grade" MUST equal to lower case AND upper case A in order for this to be true. Moreover, I don't know why you made all those variables.
Here's what you want to do:
1 2 3 4 5 6 7 8 9 10 11 12 13
int main()
{
char Grade;
std::cout << "Enter A Letter Grade: ";
std::cin >> Grade;
if (Grade == 'a' || Grade == 'A')
{
std::cout << "The Grade range is between 90 and 100";
}
return 0;
}
First, you let the user know what to input, then you use "cin >> " to get the input from them, putting the input as a value for the char "Grade". Once that's done, you check if "Grade" is lower case 'a' OR upper case 'A'. "Or" is indicated with " || ".