Question: Write a C++ program that performs the following: Prints on screen a selection menu as follow: a. Count characters, print shape. b. Series c. Print

 Write a C++ program that performs the following: Prints on screen

Write a C++ program that performs the following: Prints on screen a selection menu as follow: a. Count characters, print shape. b. Series c. Print Perfects, and Average Primes. d. Binary and Decimal e. Exit If user presses a or A, the following sub menu should be displayed 1. Count characters: (Program should read a set of characters from the keyboard until q is pressed. The program should count the occurrence of each of these characters (a, b and c).) 2- Print shape: Program should print the following shape: 3. Return to the main menu If user presses b or B. the following sub menu should be displayed: 1. FI=1/3! +3*/5!+ 5/7! ....+2)! 2- F2= 1-2/2! + x*/4! - **/6! 3- Return to the main menu. If user presses e or C, the following sub menu should be displayed: 1. Sum Perfects. (Program should print the perfect numbers from 1 to 1000) 2- Average of Primes: (Program should find the average of prime numbers from 1 to 100) 3. Return to the main menu If user presses d or D. the following sub menu should be displayed: 1. Binary to Decimal. (Program should reads a binary number and convert it to Decimal) 2- Decimal to Binary. (Program reads a decimal number and convert it to Binary) 3. Return to the main menu To Exit press e or E

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 Databases Questions!