Computer Science, asked by deepalivijaya, 1 month ago

c++ program to find equidistence of triangle

Answers

Answered by MissionUnknown
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