Question: Faculty of Information Technology Programming Fundamental Lab(C++) Write a C++ program that performs the following: (Use Function for each choice) Prints on screen a selection
Faculty of Information Technology Programming Fundamental Lab(C++) Write a C++ program that performs the following: (Use Function for each choice) Prints on screen a selection menu as follow: Sin(x), Series Count Perfects, Count Digits and Prime Number .Binary and Decimal 4. Exit If user presses a or A, the following sub menu should be displayed: 1- Sin (x)=x-x/3 + x/5! - x'/7! ...x! 2-F=1/3! + 24/5/+36/7! ....1/(2n+])! 3- Return to the main menu. If user presses b or B, the following sub menu should be displayed: 1- Sum Perfects. (program should finds the sum of the perfect numbers from 1 to 1000) 2. Count of Primes: (Program should counts the prime numberss from 1 to 100) 3- Return to the main menu If user presses c or C, the following sub menu should be displayed: 1- Binary to Decimal. (program should reads a binary number and convert it to Decimal) 2-Decimal to Binary. (program reads a decimal number and convert it to Binary) +- Return to the main menu To Exit press d or D. Due Date 18/1/2021 Page 1 of 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
