Question: Language is Java (SDK 8) Objectives: Implement basic file I/O in Java Manipulate single and multiple dimension arrays Implement basic programming constructs in Java Problem:
Language is Java (SDK 8)


Objectives: Implement basic file I/O in Java Manipulate single and multiple dimension arrays Implement basic programming constructs in Java Problem: Darth Vader wants to check that his TIE fighter pilots are patrolling adequately-sized regions of the galaxy. He has files of data that contain the patrol coordinates for each of his pilots. With the fear of being force choked, you have agreed to write a program that analyzes the data and determines the size of the area patrolled by the pilots Details: The area of the shape can be calculated with the following formula: n-2 i-0 The vertices will be stored in a 3-dimensional array o The dimensions are 20 x 16 x 2 o The first dimension is pilot o The second dimension is coordinate o The third dimension is x or y value Objectives: Implement basic file I/O in Java Manipulate single and multiple dimension arrays Implement basic programming constructs in Java Problem: Darth Vader wants to check that his TIE fighter pilots are patrolling adequately-sized regions of the galaxy. He has files of data that contain the patrol coordinates for each of his pilots. With the fear of being force choked, you have agreed to write a program that analyzes the data and determines the size of the area patrolled by the pilots Details: The area of the shape can be calculated with the following formula: n-2 i-0 The vertices will be stored in a 3-dimensional array o The dimensions are 20 x 16 x 2 o The first dimension is pilot o The second dimension is coordinate o The third dimension is x or y value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
