Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that take a choice to calculate and print these requirements by using functions for each point. Main Menu: a . Count characters,
Write a program that take a choice to calculate and print
these requirements by using functions for each point.
Main Menu:
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
In menu a
count characters: insert string input and then calculate
the numbers of character until q
Enter Your Letters
ratatihgy
Output:
change text to numbers to integers:
enter your text number until q
input: abcvxq
output:
converts small character to capital: a A
Return to main menu. In menu b
series dotsx
series dotsx
series F
dotsdotsdotsx
Return to main menu.
In menu c
Sum perfect numbers : perfect number, a positive
integer that is equal to the sum of its proper divisors.
The smallest perfect number is which is the sum of
and Other perfect numbers are and
the program must print perfect numbers
less than given input and print the summation of
perfect numbers
Max Odd Digit: The Maximum odd Digit is
Average Prime numbers: the program must print the
average of prime numbers from to given input.
Return to main menu
In menu d
Binary to decimal.
Decimal to binary. Write a program that take a choice to calculate and print
these requirements by using functions for each point.
Main Menu:
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
In menu a
count characters: insert string input and then calculate
the numbers of character r t y until q
Enter Your Letters
ratatihgy
Output:
r t y
change text to numbers to integers:
enter your text number until q
input: abcvxq
output:
converts small character to capital: a A
Return to main menu.
In menu b
series sinx x x x xxnn
series cosx x x xxnn
series F xx x x x x
xn xnxnn
Return to main menu.
In menu c
Sum perfect numbers : perfect number, a positive
integer that is equal to the sum of its proper divisors.
The smallest perfect number is which is the sum of
and Other perfect numbers are and
the program must print perfect numbers
less than given input and print the summation of
perfect numbers
Max Odd Digit: The Maximum odd Digit is
Average Prime numbers: the program must print the
average of prime numbers from to given input.
Return to main menu
In menu d
Binary to decimal.
Decimal to binary.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started