Write a funtion using C++ statements called getTotalPraduction() which takes two integer values (value1,value2) and returns the total value
#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;
}
Comments
Leave a comment