Write a menu driven ‘C’ program,

a) Write a menu driven ‘C’ program, which prints the options 1, 2, 3 (as given below) and
asks the user to select an option. If user opts

1 then find the factors of the entered number.
2 then check whether the entered number is prime number or not.
3 then directly exit from the program.

The menu should be displayed by a function.



Leave a Reply