Question: and dontuse bool variable and make result double and dont use cmath . . in c + + Write a menu that displays the following:

and dontuse bool variable and make result double and dont use cmath ..in c++Write a menu that displays the following:1- Calculate the series2- GCD and LCM3- ExitIf the user press 1:The program should find the output of the following:fn=\alpha (x1)\beta (1!)+\alpha (x3)\beta (3!)+...+\alpha (xn)\beta (n!) Where:n,x are user given numbers.\alpha : sum of primes from 1 to xi\beta : sum of odd numbers from 1 to i!use separate functions for power, factorial, alpha and beta.if user press 2:the program should read 2 numbers then prints the Greatest Common Divisor (GCD) and the Least Common Multiple (LCM)if the user press 3:the program stops and exits.** the menu keeps displaying until the user press 3, the program prints invalid input if the user enters any value rather than 1,2,3and dontuse bool variable and make result double and dont use cmath .. in c++

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!