Question: Note: Similar files will get 0 mark Write a C++ program that performs the following you must use a function for each choice): Prints on
Note: Similar files will get 0 mark Write a C++ program that performs the following you must use a function for each choice): Prints on a screen selection menu as follow: a. Decimal to Binary b. Print shape. C. Sum Perfects. d. Exit. If user press a or A: your program should read a Decimal number and convert it to Binary If user press b or B: your program should print the following shape (height and base length should be entered by the user): XX XXX XXXX XXXXX If user press c or C: program should find the sum of the perfect numbers from 1 to n (n is entered by the user). To exit press e or D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
