1.

Write a program having a method to accept three side of triangle as method parameter and calculate and return the area. Define another function that take two side of a right angle triangle and return the area. Define a third function difference in the same class that finds and print the difference of area of a triangle whose three sides are 4.5 cm, 6.4 cm, 5.9 cm and the right angle triangle whose sides are ​

Answer»

Explanation:

classes. The overload function should add the VALUES of (sides of) two triangles(and similarly thesides oftwo RECTANGLES) and make a bigger triangle(and bigger RECTANGLE) and return the area of big triangle(and big

hhktutzkhdoysoyxi6xouxpuxa program having a method to accept three side of triangle as method parameter and calculate and return the area. Define another function that TAKE two side of a right angle triangle and return the area. Define a THIRD function difference in the same class that finds and print the difference of area of a triangle whose three sides are 4.5 cm, 6.4 cm, 5.9 cm and the right angle triangle whoseWrite a program having a method to accept three side of triangle as method parameter and calculate and return the area. Define another function that take two side of a right angle triangle and return the area. Define a third function difference in the same class that finds and print the difference of area of a triangle whose three sides are 4.5 cm, 6.4 cm, 5.9 cm and the right angle triangle whose sides are Write a program having a method to accept three side of triangle as method parameter and calculate and return the area. Define another function that take two side of a right angle triangle and return the area. Define a third function difference in the same class that finds and print the difference of area of a triangle whose three sides are 4.5 cm, 6.4 cm, 5.9 cm and the right angle triangle whose sides are



Discussion

No Comment Found