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:

  1. Find Odd or Even
  2. Find Positive or Negative
  3. Find the Factorial value
  4. Exit

The choice will be displayed until the user will give “D” as a choice.

This answer is restricted. Please login to view the answer of this question.

Login Now
Leave your Answer:

Click here to submit your answer.

Notify of
Inline Feedbacks
View all comments