//just move
int oddNum = 0;
int evenNum = 0;
//below this line
while (askUser == true)
{
Type: Posts; User: Brt93yoda
//just move
int oddNum = 0;
int evenNum = 0;
//below this line
while (askUser == true)
{
Just put all the code inside a loop.
boolean loopDone = false;
While (!loopdone) {
//Odd Even code here
//if user says stop program then:
loopDone = true;
}