1) Write a class called RightTriangle. The class represents a right triangle in a coordinate system. The class has 3 instance variables: one for the length of each of its sides. Use type double for them. We will use the normal convention that the two sides next to the right angle are referred to as a and b, and the third side opposite the right angle is c.
Your class must have the following methods:
- A set and a get function for each of the three instance variables;
- A method to calculate the length of side c assuming the lengths of a and b have been set already;
- A constructor which sets the length of all the sides to 0.
2) Write a class called RigthTriangleTest which in its main method
- creates an instance of a RightTriangle class,
- sets sides a and b to values provided by the user (user the scanner object, prompt the user, and use the nextDouble() method (instead of the nextInt() method) to read the number the user entered),
- calculates the length side c, and
- prints the length of side c.


