2079 3

C Programming207910 marksDecision Making and Looping

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:A. Find Odd or Even B. Find Positive or Negative C. Find the Factorial value D. Exit The choice will be

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:A. Find Odd or Even B. Find Positive or Negative C. Find the Factorial value D. Exit The choice will be displayed until the user will give 'D' as a choice.[10]

--- --- --- The menu is placed inside a do-while loop so that: - The menu is displayed at least once. - The loop continues repeating until the user enters 'D' (Exit). Each menu option is handled by a separate case block: Choice Task Performed ----------------------- A or a Checks if number is Odd...

Up nextHow do you swap the values of two integers without using the third temporary variable? Jus