Question: Write a program main ( ) that calls ( uses ) functions to do the following using C + + : Write a function that

Write a program main () that calls (uses) functions to do the following using C++:
Write a function that prints a menu as follows:
Convert
Display the pattern
If user presses 1: the program should convert a binary number to decimal number
Example: Input any binary Number: 1001
The value in decimal number is: 9
If user presses 2: The program should display the pattern like pyramid using the alphabet
Example: Input the number of Letters (less than 26) in the Pyramid: 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!