c++ program to find equidistence of triangle
Answers
Answered by
4
Answer:
#include <iostream>
using namespace std;
int main()
{
float X1=3,Y1=4,X2=0,Y2=0,X3=0,Y3=0;
float CX1 = (X1+X2+X3)/3;
float CY1 = (Y1+Y2+Y3)/3;
cout<<"Centroid(G) (X1,Y1) = ("<<CX1<<","<<CY1<<")";
return(0);
}
Explanation:
PLS MARK ME BRAINLIEST
Similar questions
Hindi,
24 days ago
English,
24 days ago
Social Sciences,
24 days ago
Biology,
1 month ago
Computer Science,
9 months ago
Hindi,
9 months ago