Menu

[Solved]Write Calculator Program Calculator Wil Allow User Perform Following Operations Et Area Dd Q37212589

cansomeone help me code this using C++
You are to write a calculator program. The calculator wil allow the user to perform the following operations et the area ofYou are to write a ‘calculator’ program. The calculator wil allow the user to perform the following operations et the area of a ddition onvert from decimal to bases 2-16 iet Factorial ind out if an i et the area of a circle iet the area of a rightlisosceles et the ex et the iet the real division of 2 i et the remainder of 2 i of 2 int of 2 is even or odd ulti ubtraction cation ALL of these operations MUST be done in separate functions (i.e. NOT in the main function) You must present the options to the user (also in a separate function). One of the options in the menu must be the option to quit. If that is the option, the program must end as soon as it returns to the main function. If that is not the option, you must determine if the user has made a legal option (i.e. one on the menu). If they entered an illegal option, you must notify the user that it is an illegal choice, redisplay the menu, and get the user’s new choice. The user cannot leave the menu function until they enter a legal option (The user’s choice to quit is a legal option). When a legal choice is entered, the choice must be returned to the main function When the user’s choice is returned to the main function the first thing you must determine is whether the user wants to quit, if so, quit (the main function should return a value, so you can return that value). Otherwise, you must determine how many parameters must be passed to the required function. Some require only 1 integer (conversions, factorial, and the area of a circle or square) the others require 2 (all of the user’s choices must be integers) You may not use any global variables (except for the assignment of the output file name). About half the external Show transcribed image text You are to write a ‘calculator’ program. The calculator wil allow the user to perform the following operations et the area of a ddition onvert from decimal to bases 2-16 iet Factorial ind out if an i et the area of a circle iet the area of a rightlisosceles et the ex et the iet the real division of 2 i et the remainder of 2 i of 2 int of 2 is even or odd ulti ubtraction cation ALL of these operations MUST be done in separate functions (i.e. NOT in the main function) You must present the options to the user (also in a separate function). One of the options in the menu must be the option to quit. If that is the option, the program must end as soon as it returns to the main function. If that is not the option, you must determine if the user has made a legal option (i.e. one on the menu). If they entered an illegal option, you must notify the user that it is an illegal choice, redisplay the menu, and get the user’s new choice. The user cannot leave the menu function until they enter a legal option (The user’s choice to quit is a legal option). When a legal choice is entered, the choice must be returned to the main function When the user’s choice is returned to the main function the first thing you must determine is whether the user wants to quit, if so, quit (the main function should return a value, so you can return that value). Otherwise, you must determine how many parameters must be passed to the required function. Some require only 1 integer (conversions, factorial, and the area of a circle or square) the others require 2 (all of the user’s choices must be integers) You may not use any global variables (except for the assignment of the output file name). About half the external

Expert Answer


Answer to You are to write a ‘calculator’ program. The calculator wil allow the user to perform the following operations et the ar… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *