Can anyone help advice on the following?
Is there any way to shorten the condtion for checking upper and lower case?
Given that the loop accept only 'Y', 'y', 'N' and 'n' for yes and no?
} while ((toCon!='Y') && (toCon! ='y') && (toCon!='N') && (toCon!= 'n'));
Do any of the these methods come into use for solving the above-mentioned qn?
Thanks in advance.