Create if/else statement with while loops in the if block and in the else block