Commit a99b2b4d by otsall

fixed 18.11

parent 33ccc0c4
Showing with 1 additions and 3 deletions
......@@ -11,8 +11,6 @@ void busiestCarrier(int sum[], int carrier);
int main() {
int dest,
carrier;
//this is here because exciting the fillMatrix function otherwise changes the value of dest or carrier
int cartonBuffer[MAXSIZE];
//user inputs or file contains the number of destinations and carriers, which can only be positive and nonzero
puts("please input the number of destinations");
scanf("%d", &dest);
......@@ -28,7 +26,7 @@ int main() {
}
//an empty array called flightPlan is created in addition to an array called sum which will be used later
int flightPlan[dest][carrier],
int flightPlan[dest][MAXSIZE],
sum[carrier];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment