Question: must follow this code format,option six is custom implement in one function using c++ built in function its in the 3 to last bullet point

must follow this code format,option six is custom implement in one function using c++ built in function its in the 3 to last bullet point
LECTURE CODE: ///////////////////////////////// // // // #include using namespace std;
// functions prototypes void fun1(); void fun2(int x); void fun3(int a, double b, bool c); /////////////////////////// // project entry point int main() { // declaration int z; double l; bool s; // initialization z = 100; l = 3.145; s = true;
fun1(); fun2(100); fun3(z,l,s); return 0; }
////////////////////////////// // // void fun1() { // declaration
// initialization
cout
////////////////////////// // void fun2(int x) { // declaration
// initialization cout
/////////////////////////////////////////// // // void fun3(int a, double b, bool c) // the arrangment of a first, b second , c third is called function signiture { // declaration
// initialization cout
// no return is needed }
CREATE A C++ PROGRAM THAT IMPLEMENTS A CALCULATOR WITH THE FOLLOWING FUNCTIONALITIES: 1. ADDITION FUNCTION 2. SUBTRACTION FUNCTION 3. MULTIPLICATION FUNCTION 4. DIVISION FUNCTION 5. SINE, COSINE, TAN FUNCTION (SAME ANGLE) YOUR PROGRAM DISPLAYS A MENU FROM WHICH THE USER CHOOSES WHAT FUNCTION NEEDED FROM ABOVE. ONCE THE FUNCTION IS CHOSEN, THE SCREEN CLEARS AND ASKS THE USER TO INPUT THE DATA NEEDED FINALLY YOU PROGRAM DISPLAYS THE RESULT AND ASKS THE USER IF HE NEEDS TO REPEAT THE PROCESS OF CHOOSING A DIFFERENT FUNCTION CODE IMPLEMENTED USING FUNCTIONS ONLY. NO CODE IN THE MAIN BESIDES DECLARATIONS AND INITIALIZATION. USE A SEPARATE FUNCTION FOR OPTIONS 1 THROUGH 4 IMPLEMENT OPTION 6 IN ONE FUNCTION USING C++ BUILT IN FUNCTIONS. TEST YOUR RESULTS ACCURACY IF NEEDED USE #INCLUDE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
