Question #215493

Write a funtion using C++ statements called getTotalPraduction() which takes two integer values (value1,value2) and returns the total value


Expert's answer

#include <iostream>
using namespace std;

int getTotalPraduction(int value1, int value2)
{
  return  value1 + value2;
}


int main()
{
    // Example work function getTotalPraduction
    cout << getTotalPraduction(10,5) << endl;
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS