Is Right Triangle or Not

For Complete YouTube Video: Click Here

In this class, we will understand Is Right Triangle or Not.

The entire course of C Programming with more than 110+ videos of content or playlist has already been published.

We have covered all the concepts of C Programming in a very detailed way.

C Programming Complete Playlist on YouTube: Click Here

All the concepts discussed in this course are the models frequently asked in Campus Placements Questions, either in multiple-choice questions or as programming questions.

This entire course will help a Computer Science Engineering Student or a student in any other stream crack the campus placements drives held by Service-based Software or IT companies like TCS, Infosys, CTS, Wipro, Accenture, etc.

Is Right Triangle or Not

Question:

Given three-point find whether they form a right-angled triangle or not. The following Structure is used to represent the Point and distanceBetween function to find the distance between points is already implemented in the default code. Do not write the definitions again in the code.

struct point;
typedef struct point 
{
	int X;
	int Y;

}Point;

In the function below we have to write our code.

int isRightTriangle(Point *p1,Point *p2,Point *p3)
{
	//Write Code Here
}

In the above code, there are some mistakes in the problem.

The explanation of the question is provided in the above YouTube link.