Write a function called check triangle and add it to your myfunctions library that: prompts the use to input three integer values to variables named s1,s2,s3,representing the lengths of the three sides, using the scant_s function. From this data use if-else-if constructs to determine, in order, whether these values represent:1.A valid triangle.
2. An equilateral triangle.
3. An isoceles triangle.
4. A scalene triangle.
and print out the result to the screen. Remember you must check first that the side lengths entered represent a valid triangle. Your program should tell your user whether the triangle is valid or invalid, and if valid ,what kind of triangle it is.Sample output screens follow. Make sure your prompts conform to these samples.myfunctions.h Additions
void CheckTriangle(void);