C ProgrammingTU Board 2079
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:…
10Write 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.
A worked answer is on its wayMeanwhile, read the C Programming notes for this topic.
Discussion
Loading…
More C Programming questions
List different types of operators and explain any four of them.TU Board 208110What are the characteristics of array? Write a program to input age of 500 persons and display the following 1. Average age 1. Age between 25 to 30TU Board 208110Differentiate between library function and user defined function. Write a program to swap two values using call by refrence concept.TU Board 208110Explain the basic structure of C Programming.TU Board 20815Describe different formatted input and output functions. Why do we use them?TU Board 20815Write a program to display first 50 prime numbers.TU Board 20815