Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
