int count = 2;
do
{
KeyboardReader kb = new KeyboardReader();
char choose;
choose = kb.getChar();
switch (choose)
{
case 'A':
System.out.println("Ahah, so it is Spring right now for you.");
break;
case 'B':
System.out.println("Like me you are approaching Winter. I hope it is mild for you.");
break;
case 'C':
System.out.println("Hmmm, surely you know what hemisphere you live in. Try another selection.");
break;
default:
System.out.println("That was not a valid selection");
}
}while (count>1);
i dunno why did u use da count variable, but from what i c it, of course u cant go back to the main, da loop will go on and on as long as the count are still bigger than 1
u didnt put any changes to da variable count in ur program after da valid selection A or B or C, maybe after da System.out.print() statement, u should put some means to change da count value from 2 to 1 or less, so that it can escape da loop...
jst correct me if i got ur point wrong k
