0 1 2 2 56 76 T 0 1 2 2 56 76 P 12 12 12 12 12 12 P 10 20 30 40 50 60 T -100 24 35 -16 -50 -50 T 002244 FON T The program output: Parallelogram with vertices 12,12 12,12 12,12 12,12 cannot be created. Triangle with vertices 10,20 30,40 50, 60 cannot be created. Triangle with vertices 0,0 2,2 4,4 cannot be created. The biggest shape in the file "shapes.data" is the triangle with an area of 3995.00.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter7: Input/output Technology
Section: Chapter Questions
Problem 12VE
icon
Related questions
Question
Create a code
EXAMPLES OF PROGRAM EXECUTION
The file data:
0 1 2 2 56 76
T
0 1 2 2 56 76
P
12 12 12 12 12 12
P
10 20 30 40 50 60
-100 24 35 -16 -50 -50
0 0 2 2 4 4
T
The program output:
Parallelogram with vertices 12,12 12,12 12,12 12,12 cannot be created.
Triangle with vertices 10,20 30,40 50, 60 cannot be created.
Triangle with vertices 0,0 2,2 4,4 cannot be created.
The biggest shape in the file "shapes.data" is the triangle with an area of
3995.00.
Transcribed Image Text:EXAMPLES OF PROGRAM EXECUTION The file data: 0 1 2 2 56 76 T 0 1 2 2 56 76 P 12 12 12 12 12 12 P 10 20 30 40 50 60 -100 24 35 -16 -50 -50 0 0 2 2 4 4 T The program output: Parallelogram with vertices 12,12 12,12 12,12 12,12 cannot be created. Triangle with vertices 10,20 30,40 50, 60 cannot be created. Triangle with vertices 0,0 2,2 4,4 cannot be created. The biggest shape in the file "shapes.data" is the triangle with an area of 3995.00.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Single source shortest path
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning