How do make a condition in c++ that says you can't put letters from the alphabet? Well, I know how to do it manually but is there any way that you can't do it manually? I tried using the java code method but it didn't work(well it won't work really because it's from java not CPP)
if(choice == 'A-Za-z')
{
cout<<"No alphabet please"<<endl;
}