Question: Write a C++ program that read a choice as Characters then do the following: If the user choose (A) as a choice then your program

Write a C++ program that read a choice as Characters then do the following: If the user choose (A) as a choice then your program should read an integer numbers and then Check if a Number is equal to the sum of its divisors excluding itself. If the user entered (B) as a choice then your program ask the user to enter a long number as an input and display the sum of first and last digit(sum of most right digit with most left digit) Hint: if the number is 5635634, the program display 9. If the user entered (C) as a choice then your program should reads a set of integers (n integers), and then finds and prints the sum of the even and odd integers. If the user entered (D) as a choice then your program should read 3 integer numbers and print the second maximum number of them. If the user entered any other character as a choice then your program should display the following pattern. 1 12 123 1234 12345

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!