Python Forum
Help in an homework : Air trafic control
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help in an homework : Air trafic control
#1
[b]Can someone please help me do this:
This application takes a proposed set of flight arrival times and decides when those flights should actually arrive. The actual arrival times are chosen so that all arrival times are at least 5 minutes apart. For each flight, the actual arrival time should be the proposed arrival time or up to 15 minutes later. If the application cannot find a flight arrival time that satisfies these constraints, that flight is REJECTED. All flights are assumed to occur on the same day.

This application's user interface shows statistics about the flights that were processed.


User Interface
* Inputs
* No required inputs
* Outputs
* The number of flights processed
* The number of flights rejected
* The average difference between proposed and actual times.
Files
* Inputs
* proposed.txt: a list of flight IDs and proposed arrival times.
* Outputs
* actual.txt: a list of flight IDs and actual arrival times.
Reply
#2
what have you tried? We are glad to help, but we won't do your homework.
Post your code in python tags, any errors in error tags, ask specific questions.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020