Write a program to demonstrate the following menu-driven program. The user will provide an integer and alphabet for making choice and the corresponding task has to be performed according as follow:
Find Odd or Even
Find Positive or Negative
Find the Factorial value
Exit
The choice will be displayed until the user will give “D” as a choice.