string steady(int company[][column], int row)//Question 6
{
int increase = 0;
int x,y = 0;
string Up = "Increased";
string Down = "Decreased";
for(y = 0; y < 2; y ++)//column
{//Start loop
increase = company[0][y];
for(x = 1; x < 4; x ++)//Rows
if(increase < company[x][y])
{
increase++;
return Up;
}
else if (increase > company[x][y])
{
return Down;
}
else;
}//End for loop
}
//Hey guys im trying to determine for 2 items, if they were steadily increasing( each quarter which is 4 had a profit higher than the previous quarter) steadily decreased or it went up or went down.