Help please with simple code

Hello - my code below sees lowercase as capital, help would be much appreciated. Thanks in advance.

#include "stdafx.h"


using namespace System;

int main(array<System::String ^> ^args)
{
wchar_t letter;
Console::Write(L"Enter a letter: ");
letter = Console::Read();

if((letter >= 'A') || (letter <= 'Z')) //Test for A or larger test for Z or smaller
{
Console::WriteLine(L"You entered a Capital letter. ");
return 0;
}


if((letter >= 'a') || (letter <= 'z'))
{
Console::WriteLine(L"You entered a small letter. ");
return 0;
}

Console::WriteLine(L"You did not enter a letter.");

return 0;
Yes, instead of || use && if((letter>='A')&&(letter<='Z'))

and the other if statement
Many Thanks
Topic archived. No new replies allowed.