Question: ++solve using C Write a program that prints out the following menu: 1- Calculate the series. 2- Draw a pattern. 3- Read numbers. 4- Calculate

++solve using C

++solve using C Write a program that prints out the following menu:

Write a program that prints out the following menu: 1- Calculate the series. 2- Draw a pattern. 3- Read numbers. 4- Calculate the sum. 5- Exit If the user press 1: the program should calculate the following series: 1/1!+2/2!+3/3!+4/4!+.+n! If user press 2 the program should draw the following pattern: If user press 3: the program reads numbers from user until 1 is entered, then it displays another menu: a. Max number. b. Average. If user press a: the program should print the largest number of the entered numbers. If user press b4: the program should calculate the average of odd numbers of the entered numbers. If the user press 4: the program should calculate the sum of perfect numbers from 1 to 500 : A perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the mumber itself. For instance, 6 has divisors 1,2 and 3 (excluding itself), and 1+2+3=6, so 6 is a perfect number The menu will alwavs display until the user press 5 , the program will stop

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!