Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that take a choice to calculate and printthese requirements by using functions for each point.Main Menu:a . Count characters, change text numbers

Write a program that take a choice to calculate and printthese requirements by using functions for each point.Main Menu:a. Count characters, change text numbers to integersand converts small character to capital.b. Seriesc. Sum Perfects, Max Digits and Average Number.d. Binary and Decimale. ExitIn menu (a)1. count characters: insert string input and then calculatethe numbers of character r, t , y until (q)Enter Your LettersratatihgyOutput:r t y1212. change text to numbers to integers:enter your text number until (q)input: a1b2cv4x23qoutput: 124233. converts small character to capital: a -> A4. Return to main menu.In menu (b)1. series 1-> sin(x)= x - x3/3!+ x5/5!- x7/7! xn/n!
2. series 2-> cos(x)=1- x2/2!+ x4/4!- x6/6! xn/n!
3. series 3-> F2=1+ x1/(x-1)2+ x2/( x-1)3+ x3/( x-1)4+ xn/( x-1)n+1xn/n!.4. Return to main menu.In menu (c)1. Sum perfect numbers : perfect number, a positiveinteger that is equal to the sum of its proper divisors.The smallest perfect number is 6, which is the sum of1,2, and 3. Other perfect numbers are 28,496, and8,128.-> the program must print perfect numbersless than given input and print the summation ofperfect numbers2. Max Odd Digit: 7592->The Maximum odd Digit is 93. Average Prime numbers: the program must print theaverage of prime numbers from 1 to given input.4. Return to main menuIn menu (d)1. Binary to decimal. (1010)->102. Decimal to binary. (10)->1010
Write the code by using c++language

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

=+ Is the information source respected?

Answered: 1 week ago

Question

=+ Is the source or sponsor of the information indicated?

Answered: 1 week ago