Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

otsall / iax0583

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit a99b2b4d authored 6 years ago by otsall's avatar otsall
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

fixed 18.11

parent 33ccc0c4 master
Hide whitespace changes
Inline Side-by-side
Showing with 1 additions and 3 deletions
  • Homework2/homework2.c
Homework2/homework2.c
View file @ a99b2b4d
......@@ -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];
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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