Question: Write a C + + program that performs the following: Prints on screen a selection menu as follow: a . Count characters, converts small character

Write a C++ program that performs the following:
Prints on screen a selection menu as follow:
a. Count characters, converts small character to capital.
b. Series.
c. Binary, Max Digits and Average Primes.
d. Exit
If user presses a or A, the following sub menu should be displayed
1- Count characters:
(Program should call a function that reads set of characters until q is pressed. The function should count the occurrence of each of these characters (a, b and c).)
2- Small to Capital:
(Program should call a function that prints all characters in the two cases (small and capital))
3- Return to the main menu.
If user presses b or B, the following sub menu should be displayed:
1- Sin (x)=x-x/31+x/31x17m 2-F1-12/31+2/51+3/71/(2n+1)!
3- Cos(x)/2/21/4/6/
4- Return to the main menu.
If user presses c or C, the following sub menu should be displayed:
1- Binary to Decimal.
(program should reads a binary number and convert it to Decimal)2- Max Digits:
(program should call a function that returns the max even digits of any integer as: follows: x=1247, max digits =4).
Average of Primes: (Program should call a function that returns the average of primes from 1 to 100)
4- 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!