subject

Write a program that reads from the user any three points in two dimensional space: x1, y1, x2, y2, x3, y3. assume these points form a line segment, (x1, y1) to (x2, y2) to (x3, y3). calculate the sum of these line segments and print value to two decimal places. for example with points (0.0, 0.0), (3.0, 4.0), (6.0, 8.0), the distance for the first segment is 5.0, the second segment is 5.0, so the output for this case would be 10.00. the input and output for this case would be: input: 0.0 0.03.0 4.06.0 8.0output: 10.00

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Which of the following would not be considered a pc? a. mainframe b. desktop c. tablet pc d. laptop
Answers: 2
question
Computers and Technology, 24.06.2019 08:30
Aconsumer would pay an extra they used the rent to own program to buy the computer, rather than using cash. for all of the items, is the cheapest option over the life of the contract. the most expensive overall option is to use purchase the item.
Answers: 2
You know the right answer?
Write a program that reads from the user any three points in two dimensional space: x1, y1, x2, y2,...
Questions
question
Mathematics, 18.03.2021 01:30
question
French, 18.03.2021 01:30
question
Mathematics, 18.03.2021 01:30
question
Mathematics, 18.03.2021 01:30