I need to write a program that based on these instructions. I’mstuck on the loop part.
user inputs unlimited entries, (numbers) and has unlimitedtries. User inputs either an even or odd number (error checking?)and then selects to either put in into a “FOR” or “While” loop.Once that particular loops (either FOR or While) has 3 more oddnumbers then even numbers then the program exist and displays thecorrect message something like the FOR//While loop has 3 more oddnumbers then even. Of course FOR// WHile is not valid statement hasto be one or the other. At that point the user has the choice tokeep playing or existing the program
Answer to I need to write a program that based on these instructions. I’m stuck on the loop part. user inputs unlimited entries, (…