int max=-99999, buy, sold;
for (int I=0; i <7; i++)
{
for (int j =i; j <7; j++)
{
if((price(j) - price(i))>max)
{
max= price [J]-price [i];
buy=i;
sold=j;
Answers
Answered by
0
Answer:
gdhsnsushsvhsusvsbdudhbd
Similar questions