Fill in the blanks to complete the following program:
Public class area // area of circle
{
a) _________________________________
{
Int r=0;
b) ____ area;
c) area=22.7*____*
}
}
please tell
Answers
Answered by
1
Explanation:
te a program using a function called area() to compute area of the following:
(a) Area of circle = (22/7) * r * r
(b) Area of square= side * side
(c) Area of rectangle = length * breadth
Display the menu to display the area as per the user's choice.
Similar questions