Java - validate strings between a range of letters
<p>I have written a simple test program for a larger program, where I need to validate the String by a range of letters from a through to g. </p>

<p>The below test program should ask for a letter, then if within range of a-g print an acceptance message, else say 'oops' and ask again. </p>