[
#include <stdio.h>
#include <stdio.h>
int main(void)
{
/*Declare and initialize variables*/
double x1=1, y1=5, x2=4, y2=7,
side_1, side_2, distance;
/*Compute sides of a right triangle. */
side_1 = x2 - x1;
side_2 = y2 -y1;
distance = sqrt(side_1*side_1 + side_2*side_2);
/* Print distance. */
printf("the distance between the two points is "
"%5.2f \n", distance);
/*Exit program. */
return 0;
}
]
The other half of the program must compute the third side of non-right triangles.
These are my instructions, and I am VERY lost

.
• Declare PI 3.14159 as constants using a preprocessor directive.
• Use the cos( ), sqrt( ), and pow( ) functions. This means that you need to include math.h.
• Declare ALL variables use in the calculations as double.
• Use descriptive variable names.
• Prompt for and enter a value for length of side b, length of side c, and size of angle a in degrees.
You do not need to test the input data for errors in this assignment.
But, keep in mind: 0 < size of angle a < 180 degrees.
• Calculate radians and length of side a.
• Display the values of the length of side b, length of side c, and size of angle a in degrees with
appropriate labels and NO decimal places.
Display the values for length of side a with THREE decimal places in a sentence.
Leave only one space before and after the numeric output.