Friday, October 10, 2014

Develop a user defined function named ‘read_sides’ that reads the three sides of a triangle. Also...

Develop a user defined function named ‘read_sides’ that reads the three sides of a
triangle. Also develop user defined functions named ‘compute_perimeter’ and
‘compute_area’ to compute the perimeter and the area of the triangle. Call these functions
suitably from your main function to read the three sides of the triangle and to compute its
perimeter and area.

No comments:

Post a Comment