Answer to Question #21196 in C++ for Mike Stone

Question #21196
Write a C++ program that performs the following:
Prints on screen a selection menu as follow:
a. Count characters, change text numbers to integers and converts small character to capital.
b. Series.
c. Sum Perfects, Max Digits and Average Number.
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- Change text number to integer:
(Program reads a text containing mixed text and numbers until q is pressed, your program prints the numbers only as integers)
3- Small to Capital:
(Program prints all characters in the two cases (small and capital)
4- Return to the main menu.

If user presses b or B, the following sub menu should be displayed:
1- Sin (x)= x - x3/3! + x5/5! – x7/7! …xn/n!
2- F1=12/3! + 24/5!+ 36/7! …n2n/(2n+1)!
3- Cos (x)= 1 – x2/2! + x4/4! – x6/6! …xn/n!
4- F2= 1 + x1/(x-1)2 + x2/( x-1)3 + x3/( x-1)4 ………+ xn/( x-1)n+1
5- Return to the main menu.

If user presses c or C, the following sub menu should be displayed:
1- Print Perfects.
(Program should prints the perfect numbers from 1 to 500)
2- Max Digits:
(Program should finds the max odd digit of any integer as: follows: x=1874, max odd digits = 7 ).
3- Average of Primes:
(Program should counts the prime numbers from 1 to 100)
4- 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.
1
Expert's answer
2012-12-24T09:09:13-0500
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS