You are required to create the Triangle class and implement some code in main method where there is ENTER CODE HERE comment. You only get credit if you create and complete the Triangle class. In this lab, you will be working on implementing classes inC++. You need to create a Triangle class in order to complete the lab. You are required to create three private variables called sideA, sideB, and sideC, which are the lengths of the three sides of a triangle, and you are required to create setters and getters for problem 1. For problem 2, you are required to create a function called isRightAngled inside the Triangle class, and this function checks whether the given side lengths form a right triangle. For problem 3 , you need to create a function called findArea inside the Triangle class, which finds the area of a triangle with the given side lengths. Problem 1: You are required to create a Triangle class. It should have three private double data members called sideA, sideB and sideC, which are lengths of three sides of a triangle. Create setters and getters i.e setSideA(), setSideB(), and setSideC() setters(methods) which sets(initializes) values to the private data members and getSideA(), getSideB(), and getSideC() getters which returns values of the private data members. In the main method in CASE 1, you are required to write code to declare an instance of a Triangle class and call it here. Write code to setAandBandCvalues using setSideA(parameter) and setSideB(parameter) and setSideC(parameter) functions. Finally update the variables "theA′′and "theB" and "theC" to equal theAandBandCof the declared instance using getSideA() and getSideB() and getSideC() functions and then print the results. Example 1: EnterAandBandCvalues :3.14.46.2Output is : TheAandBandCvalues are3.1and4.4and6.2Done! Problem 2 : In this problem, you are required to create a function named isRightAngled() without any parameters inside the Triangle class. This function will check whether the given three lengths form a right-angled triangle. To check right angled triangle property, you need to check that sum of squares of sideA and sideB is equal to sideC i.e side2==sideA∗2+sideB∗2, if the three lengths satisfy above condition return true. (We assume that sideCis the longest side of the triangle.) In the main method in CASE 2, you are required to write code to declare an instance of a Triangle class and call it here. Call the set methods which you already did in the first problem in the Triangle class to initialize the private variables. Finally, you need to call the isRightAngled function which is implemented in Triangle class with the help of instance which return true or false and print Yes or No accordingly. Example 1: EnterAandBandCvalues :3.34.25.8Output is : No Done! Problem 3 (EXTRA CREDIT): In this problem, you are required to create a function named findArea() with three parameters as the side lengths inside the Triangle class which calculates the area of a triangle with length of three sides. Before finding the area you are required to check whether the given three sides form a valid triangle or not. You can check this with following conditions: The length of the sides must be positive, and the sum of any two sides must be smaller than the third side. if the triangle is not valid, print " Not a valid triangle". If it is valid, find the area. To find the area of a triangle using the lengths, use this formula:s(s−a)(s−b)(s−c), wheres=21(a+b+c)In the main method in CASE 3, you are required to write code to declare an instance of a Triangle class and call it here. You need to call the findArea function with three parameters which is implemented in Triangle class with the help of the instance which check for valid triangle and returns the area. Print the corresponding result. Example 1: EnterAandBandCvalues :4.05.06.0Output is : Area is :9.92157Done!