I am attempting to take a row from a 2d array, and multiply by a column in another 2d array. Then put those values into a third 2d array. The arrays being pulled from are called recipe[][] and prices[][]. The one I'm trying to put the values in is called forecastPrices[][].
Right now I just have:
for(int i = 0 ; i < numberOfProducts ; i++)
{
for(int j = 0 ; j < numberOfProducts ; j++)
{
forecastCost[i][j] = someNumber;
}
}
I know that this code only goes through the array and assigns some number to each point. but it's all I have