Computer Science, asked by suchitrajayantsingh, 2 months ago

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 ​

Answers

Answered by sangitac711
0

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

Similar questions