C++ Programming Switch Statement Menu Validation helpplease!
I have a program that’s working ok but when it comes to themenu, it’s not validating when a user inputs an alphabet characteror special character. This is located within the Main.cpp at theswitch statements. The program validates when the user enters aninteger other than the numeric options in the menu. Is there anyway this program can catch also alphabetical characters AND specialcharacters? The program should validate numerical values not partof the menu option, alphabetical characters and special characters.If a user inputs any of those as a menu option an error messageshould appear like: “Invalid
PayPal Gateway not configured
PayPal Gateway not configured