#include
#include
#include
using namespace std;
int main()
{
vector vectorObject1(5), vectorObject2(5);
int i, total;
for(i = 0; i < 5; i++)
vectorObject1[ i ] = i;
for(i = 0; i < 5; i++)
vectorObject2[ i ] = i+2;
total = inner_product(vectorObject1.begin(), vectorObject1.end(), vectorObject2.begin(), 0);
cout << "Inner product is: " << total;
return 0;
}