Write A Program To Check Upper case Lower case Digit And Special Symbol .
Logic :-
This is a simple logic we check all the thing with ASCII value or Character we put condition like if character ASCII value is between 97 to 122 then character is lower case or if 65 to 90 then Upper case or if ASCII value is between 48 to 57 then it is Digit .
if above all condition is not true then it is a Special Symbol .
Output:
Press Any Key....
2
Key Is Degit
need an explanation for this answer? contact us directly to get an explanation for this answer