Question: Write a function that asks the user for an input. If the user enters anything but E or e, it it asks for a positive
Write a function that asks the user for an input. If the user enters anything but E or e, it it asks for a positive number and then displays back whether it is odd or even. It keeps prompting the user for a number until the user enters an e or E. If the user enters E or e, the program ends. Write a function that asks the user for a positive number and finds the factorial of it. (n!) Display the output on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
