Q: Write a single program that performs a following tasks ;
a) write a void function that disply the following manu:
•Find perameter of square.
•Find area of circle.
•Find area of rectangle.
•Exit the program.
(b)write function that calculate the perameter of square .Returns & perameter type is double.
(c)write function that calculate the area of circle. Returns & perameter type is int.
(d) write function that calculate the area of rectangle .Returns & perameter type is double.
•
749 views
Usually answered in minutes!
×