Computer Science, asked by mohammedabdulrahmanh, 2 months ago

Dhoni joined the group of 3 Musketeers and now their group is called four Musketeers.
Meanwhile, Dhoni also moved to a new house in the same locality nearby to the other three.
Currently, the houses of Sachin, Dravid and Ganguly are located in the shape of a triangle.
When the three musketeers asked Dhoni about the location of his house, he said that his
house is equidistant from the houses of the other 3. Can you please help them find out the
location of the house? Given the 3 locations {(a1,b1), (a2,b2) and (a3,b3)} of a triangle, write a
program to determine the point which is equidistant from all the 3 points. python ​

Answers

Answered by sachinjosyulayn
5

Answer:

what is your question I did not know

Answered by sbmshukla
4

Answer:

#include<iostream>

using namespace std;

int main()

{

 int a1,b1,a2,b2,a3,b3;

 float a4,b4;

 cin>>a1>>b1>>a2>>b2>>a3>>b3;

 a4=(a1+a2+a3)/3.0;

 b4=(b1+b2+b3)/3.0;

 cout<<a4<<"\n";

 cout<<b4;

}

Explanation:

Similar questions