Q7. Write a menu driven program which has following options: 1. Find the pth power of a number n using recursive function 2. Find the binary equivalent of a number n and count all 1's using recursive...


C language Q 7


Q7. Write a menu driven program which has following options:<br>1. Find the pth power of a number n using recursive function<br>2. Find the binary equivalent of a number n and count all 1's using recursive function.<br>3. Find the reverse of the number using recursive function.<br>4. Exit<br>Once a menu item is selected the appropriate action should be taken and once this action is<br>finished, the menu should reappear. Unless the user selects the Exit option the program<br>should continue to work.<br>

Extracted text: Q7. Write a menu driven program which has following options: 1. Find the pth power of a number n using recursive function 2. Find the binary equivalent of a number n and count all 1's using recursive function. 3. Find the reverse of the number using recursive function. 4. Exit Once a menu item is selected the appropriate action should be taken and once this action is finished, the menu should reappear. Unless the user selects the Exit option the program should continue to work.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here